diff options
author | Gaƫtan Lehmann <gaetan.lehmann@gmail.com> | 2015-01-28 08:27:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-01-28 15:06:20 (GMT) |
commit | 7cdf28e815b45e8584a7f06d457365f3f4963d02 (patch) | |
tree | bd9670d8aa9c401f007d212f1caa8bb548f88532 /test/expect/cmd.gccxml-empty-c++98-E.stdout.txt | |
parent | cd657a281917fac2a954b3659a8c8b9ee57991ce (diff) | |
download | CastXML-7cdf28e815b45e8584a7f06d457365f3f4963d02.zip CastXML-7cdf28e815b45e8584a7f06d457365f3f4963d02.tar.gz CastXML-7cdf28e815b45e8584a7f06d457365f3f4963d02.tar.bz2 |
castxml: Allow -E to suppress --castxml-gccxml when used together
This helps make castxml usable with ccache. In its first pass, ccache
drops the -o and the output file from the command line and add the -E
option to get the preprocessed output. It does not now about
--castxml-gccxml, so castxml must not produce an error when the options
are used together. Instead make -E suppress --castxml-gccxml, much like
compilers do for -E and -c together.
Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'test/expect/cmd.gccxml-empty-c++98-E.stdout.txt')
-rw-r--r-- | test/expect/cmd.gccxml-empty-c++98-E.stdout.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/expect/cmd.gccxml-empty-c++98-E.stdout.txt b/test/expect/cmd.gccxml-empty-c++98-E.stdout.txt new file mode 100644 index 0000000..931220e --- /dev/null +++ b/test/expect/cmd.gccxml-empty-c++98-E.stdout.txt @@ -0,0 +1,2 @@ +^#[^ +]*/test/input/empty.cxx" |