[cfe-commits] r39202 - /cfe/cfe/trunk/Driver/clang.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:41:07 PDT 2007
Author: sabre
Date: Wed Jul 11 11:41:07 2007
New Revision: 39202
URL: http://llvm.org/viewvc/llvm-project?rev=39202&view=rev
Log:
-fsyntax-only is synonym for -parse-ast for now.
Modified:
cfe/cfe/trunk/Driver/clang.cpp
Modified: cfe/cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Driver/clang.cpp?rev=39202&r1=39201&r2=39202&view=diff
==============================================================================
--- cfe/cfe/trunk/Driver/clang.cpp (original)
+++ cfe/cfe/trunk/Driver/clang.cpp Wed Jul 11 11:41:07 2007
@@ -955,12 +955,10 @@
ParseFile(PP, new MinimalAction(), MainFileID);
break;
- case ParseSyntaxOnly: // -fsyntax-only
- std::cerr << "-fsyntax-only not implemented yet.\n";
- break;
case ParsePrintCallbacks:
ParseFile(PP, CreatePrintParserActionsAction(), MainFileID);
break;
+ case ParseSyntaxOnly: // -fsyntax-only
case ParseAST:
BuildASTs(PP, MainFileID);
break;
More information about the cfe-commits
mailing list