llvm-project/clang/lib/Frontend
Hal Finkel 2109f23000 Fix the indentation of the first line of preprocessor output
The -E output from clang did not produce the correct indentation on the first line.
This is because MoveToLine returned false, and when this happens,
the regular process for producing initial indentation is skipped.

Thanks to Eli for suggesting a way to simplify this to a one-line change.

llvm-svn: 173657
2013-01-28 04:37:37 +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 Implement the reader of the global module index and wire it into the 2013-01-25 01:03:03 +00:00
CompilerInvocation.cpp [Frontend] Remove another IsUserSpecified member variable that is now unused. 2013-01-25 01:50:47 +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 remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
HeaderIncludeGen.cpp Basic: import SmallString<> into clang namespace 2012-02-05 02:13:05 +00:00
InitHeaderSearch.cpp [Frontend] Drop the isUserSupplied argument to InitHeaderSearch, it is unused. 2013-01-25 01:50:39 +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 BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
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