hanchenye-llvm-project/clang/lib/Frontend
Jordan Rose 17441589c3 Don't warn about Unicode characters in -E mode.
People use the C preprocessor for things other than C files. Some of them
have Unicode characters. We shouldn't warn about Unicode characters
appearing outside of identifiers in this case.

There's not currently a way for the preprocessor to tell if it's in -E mode,
so I added a new flag, derived from the PreprocessorOutputOptions. This is
only used by the Unicode warnings for now, but could conceivably be used by
other warnings or even behavioral differences later.

<rdar://problem/13107323>

llvm-svn: 173881
2013-01-30 01:52:57 +00:00
..
ASTConsumers.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
ASTMerge.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ASTUnit.cpp Use 'const Decl *' throughout code completion in Sema 2013-01-23 17:21:11 +00:00
CMakeLists.txt clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
CacheTokens.cpp Extend stat query APIs to explicitly specify if the query is for 2012-12-11 07:48:23 +00:00
ChainedDiagnosticConsumer.cpp Remove spurious mode marker from .cpp file. 2012-10-29 06:05:01 +00:00
ChainedIncludesSource.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
CompilerInstance.cpp Don't warn about Unicode characters in -E mode. 2013-01-30 01:52:57 +00:00
CompilerInvocation.cpp Don't warn about Unicode characters in -E mode. 2013-01-30 01:52:57 +00:00
CreateInvocationFromCommandLine.cpp Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +00:00
DependencyFile.cpp For PPCallbacks::InclusionDirective() add a parameter for the module, whenever 2012-09-29 01:06:10 +00:00
DependencyGraph.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
DiagnosticRenderer.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
FrontendAction.cpp Rename the -cc1 option "-generate-module-index" to 2013-01-25 00:45:27 +00:00
FrontendActions.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
FrontendOptions.cpp
HeaderIncludeGen.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
InitHeaderSearch.cpp [Frontend] Factor AddUnmappedPath() out of AddPath() and simplify. 2013-01-30 01:06:03 +00:00
InitPreprocessor.cpp Add -fopenmp -cc1 option and wire it up to define _OPENMP, from Alexey Bataev! 2013-01-15 06:45:29 +00:00
LangStandards.cpp Remove unnecessary default cases in switches over enums. 2012-01-17 02:30:50 +00:00
LayoutOverrideSource.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
LogDiagnosticPrinter.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
Makefile
MultiplexConsumer.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
PrintPreprocessedOutput.cpp Fix the indentation of the first line of preprocessor output 2013-01-28 04:37:37 +00:00
SerializedDiagnosticPrinter.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
TextDiagnostic.cpp Be defensive when printing module import locations; the diagnostic printer needs to be robust 2012-12-18 23:02:07 +00:00
TextDiagnosticBuffer.cpp Escape % in the TextDiagnosticBuffer so they aren't interpreted twice when fed into the diagnostic formatting machinery again. 2012-12-08 12:42:30 +00:00
TextDiagnosticPrinter.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
VerifyDiagnosticConsumer.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
Warnings.cpp [driver] Warnings for warning options are handled by the frontend. The driver needs to process the 2013-01-15 01:21:53 +00:00