Compare commits
1 Commits
2e235d0f29
...
a7df3a4e71
Author | SHA1 | Date | |
---|---|---|---|
a7df3a4e71 |
|
@ -12,3 +12,4 @@ subclasses:
|
|||
|
||||
imports: [ simple.h ]
|
||||
frameworks: [ Foundation ]
|
||||
#arc: true
|
||||
|
|
3
main.go
3
main.go
|
@ -167,6 +167,9 @@ func Start() (err error) {
|
|||
// Generate AST
|
||||
cargs := []string{"-xobjective-c", "-Xclang", "-ast-dump",
|
||||
"-fsyntax-only","-fno-color-diagnostics"}
|
||||
if Config.Arc {
|
||||
cargs = append(cargs,"-fobjc-arc")
|
||||
}
|
||||
cargs = append(cargs,Config.Inputfiles...)
|
||||
fmt.Printf("Generating AST\n")
|
||||
astPP, err := exec.Command("clang",cargs...).Output()
|
||||
|
|
Loading…
Reference in New Issue
Block a user