diff options
author | Nico Weber <nicolasweber@gmx.de> | 2011-08-13 19:03:50 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2011-08-13 19:03:50 +0000 |
commit | c687cae11df44814e1974f06665f93360025d927 (patch) | |
tree | 5cca750beaf46f80d14377ab63fa0f10046f42f3 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9f56acc124baab0f73db06cf317358c91a387a49 (diff) | |
download | llvm-c687cae11df44814e1974f06665f93360025d927.zip llvm-c687cae11df44814e1974f06665f93360025d927.tar.gz llvm-c687cae11df44814e1974f06665f93360025d927.tar.bz2 |
Accept -x objc++-cpp-output as an alias for -x objective-c++-cpp-output
This is the ObjC++ version of r129201. It's for example needed to use
ccache with clang.
llvm-svn: 137560
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 88c972c..bc6b08d 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -1322,6 +1322,7 @@ static InputKind ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args, .Case("objective-c-cpp-output", IK_PreprocessedObjC) .Case("objc-cpp-output", IK_PreprocessedObjC) .Case("objective-c++-cpp-output", IK_PreprocessedObjCXX) + .Case("objc++-cpp-output", IK_PreprocessedObjCXX) .Case("c-header", IK_C) .Case("objective-c-header", IK_ObjC) .Case("c++-header", IK_CXX) |