llvm-project/clang/lib
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
..
ARCMigrate Re-sort all the headers. Lots of regressions have crept in here. 2013-01-19 08:09:44 +00:00
AST Decl printer: fix CXXConstructExpr with implicit default argument 2013-01-27 21:28:24 +00:00
ASTMatchers Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
Analysis -Wuninitialized: warn about uninitialized values resulting from ?: that evaluate to lvalues (in C++). 2013-01-19 00:25:06 +00:00
Basic <limits.h> includes <linux/limits.h> on Linux, no need to special-case it 2013-01-26 16:29:36 +00:00
CodeGen Since ObjCARC has been refactored into its own library with its own declaration header, we need to include the declaration header alongside Scalar.h in BackendUtil. 2013-01-28 01:36:00 +00:00
Driver [driver] Associate a JobAction with each result file. This enables the driver 2013-01-24 19:14:47 +00:00
Edit Implement OpenCL event_t as Clang builtin type, including event_t related OpenCL restrictions (OpenCL 1.2 spec 6.9) 2013-01-20 12:31:11 +00:00
Format Fix some alignment and line break decisions. 2013-01-25 15:43:32 +00:00
Frontend Fix the indentation of the first line of preprocessor output 2013-01-28 04:37:37 +00:00
FrontendTool use early returns to simplify and de-nest 2013-01-06 07:49:41 +00:00
Headers Parsing support for C11's _Noreturn keyword. No semantics yet. 2013-01-17 22:16:11 +00:00
Lex PR15067: Don't assert when a UCN appears in a C90 file. 2013-01-27 20:12:04 +00:00
Parse Give a more informative error message when the dot or arrow operator is used 2013-01-26 02:31:38 +00:00
Rewrite Rework the traversal of Objective-C categories and extensions to 2013-01-16 23:00:23 +00:00
Sema Tests and a minor bugfix for [dcl.attr.depend]p1 (C++11 [[carries_dependency]] 2013-01-28 01:15:38 +00:00
Serialization Preserve Sema::UndefinedInternals across PCH boundaries. Fixes 2013-01-26 00:35:08 +00:00
StaticAnalyzer [analyzer] C++ initializers may require cleanups; look through these. 2013-01-26 03:16:31 +00:00
Tooling Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +00:00
CMakeLists.txt Initial version of formatting library. 2012-12-03 18:12:45 +00:00
Makefile Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user 2012-12-13 16:09:42 +00:00