llvm.org GIT mirror llvm / d914877
Make -fsyntax-only, -include and -emit-llvm work for C++ and Objective-C/C++. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60047 91177308-0d34-0410-b5e6-96231b3b80d8 Mikhail Glushenkov 11 years ago
1 changed file(s) with 16 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2121 (default),
2222 "llvm-gcc -E -x c++ $INFILE"),
2323 (switch_on "fsyntax-only"),
24 "llvm-gcc -c -x c $INFILE",
24 "llvm-gcc -fsyntax-only -x c $INFILE",
2525 (default),
2626 "llvm-gcc -c -x c $INFILE -o $OUTFILE -emit-llvm")),
2727 (switch_option "emit-llvm", (stop_compilation),
4545 "llvm-g++ -E -x c++ $INFILE -o $OUTFILE",
4646 (default),
4747 "llvm-g++ -E -x c++ $INFILE"),
48 (switch_on "fsyntax-only"),
49 "llvm-g++ -fsyntax-only -x c++ $INFILE",
4850 (default),
4951 "llvm-g++ -c -x c++ $INFILE -o $OUTFILE -emit-llvm")),
52 (switch_option "emit-llvm", (stop_compilation)),
5053 (switch_option "E", (stop_compilation)),
54 (switch_option "fsyntax-only", (stop_compilation)),
55 (parameter_list_option "include", (forward)),
5156 (sink)
5257 ]>;
5358
6166 "llvm-gcc -E -x objective-c $INFILE -o $OUTFILE",
6267 (default),
6368 "llvm-gcc -E -x objective-c $INFILE"),
69 (switch_on "fsyntax-only"),
70 "llvm-gcc -fsyntax-only -x objective-c $INFILE",
6471 (default),
6572 "llvm-gcc -c -x objective-c $INFILE -o $OUTFILE -emit-llvm")),
73 (switch_option "emit-llvm", (stop_compilation)),
6674 (switch_option "E", (stop_compilation)),
75 (switch_option "fsyntax-only", (stop_compilation)),
76 (parameter_list_option "include", (forward)),
6777 (sink)
6878 ]>;
6979
7787 "llvm-gcc -E -x objective-c++ $INFILE -o $OUTFILE",
7888 (default),
7989 "llvm-gcc -E -x objective-c++ $INFILE"),
90 (switch_on "fsyntax-only"),
91 "llvm-gcc -fsyntax-only -x objective-c++ $INFILE",
8092 (default),
8193 "llvm-gcc -c -x objective-c++ $INFILE -o $OUTFILE -emit-llvm")),
94 (switch_option "emit-llvm", (stop_compilation)),
8295 (switch_option "E", (stop_compilation)),
96 (switch_option "fsyntax-only", (stop_compilation)),
97 (parameter_list_option "include", (forward)),
8398 (sink)
8499 ]>;
85100