[cfe-commits] r38631 - /cfe/cfe/trunk/Driver/clang.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:23:22 PDT 2007
Author: sabre
Date: Wed Jul 11 11:23:21 2007
New Revision: 38631
URL: http://llvm.org/viewvc/llvm-project?rev=38631&view=rev
Log:
Implement -Wunused-macros functionality, currently always enabled.
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=38631&r1=38630&r2=38631&view=diff
==============================================================================
--- cfe/cfe/trunk/Driver/clang.cpp (original)
+++ cfe/cfe/trunk/Driver/clang.cpp Wed Jul 11 11:23:21 2007
@@ -856,7 +856,7 @@
}
// Start parsing the specified input file.
- PP.EnterSourceFile(MainFileID, 0);
+ PP.EnterSourceFile(MainFileID, 0, true);
switch (ProgAction) {
case RunPreprocessorOnly: { // Just lex as fast as we can, no output.
More information about the cfe-commits
mailing list