llvm-project/clang/lib
Eric Liu 964782adbb [ClangFormat] Only insert #include into the #include block in the beginning of the file.
Summary:
This avoid inserting #include into:
- raw string literals containing #include.
- #if block.
- Special #include among declarations (e.g. functions).

Reviewers: djasper

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D26909

llvm-svn: 288493
2016-12-02 11:01:43 +00:00
..
ARCMigrate Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 10:39:27 +00:00
AST Delete tautological assertion. 2016-12-02 00:51:58 +00:00
ASTMatchers Adds hasUnqualifiedDesugaredType to allow matching through type sugar. 2016-12-01 15:45:06 +00:00
Analysis [ReachableCode] Skip over ExprWithCleanups in isConfigurationValue 2016-11-01 00:19:04 +00:00
Basic [WebAssembly] Add an -mdirect flag for the direct wasm object feature. 2016-12-02 01:12:40 +00:00
CodeGen Struct GEPs must use i32, not whatever size_t is. It should be safe 2016-12-01 23:51:30 +00:00
Driver [CUDA] "Support" ASAN arguments in CudaToolChain 2016-12-02 01:42:54 +00:00
Edit [OpenCL] Generate opaque type for sampler_t and function call for the initializer 2016-07-28 19:26:30 +00:00
Format [ClangFormat] Only insert #include into the #include block in the beginning of the file. 2016-12-02 11:01:43 +00:00
Frontend [Frontend] Fix an issue where a quoted search path is incorrectly 2016-12-02 09:51:51 +00:00
FrontendTool C++ Modules TS: add frontend support for building pcm files from module 2016-08-26 00:14:38 +00:00
Headers [DOXYGEN] Updated instruction names corresponding to avxintrin.h intrinsics. 2016-11-26 19:38:19 +00:00
Index [index] Rename SymbolSubKind -> SymbolProperty, NFC. 2016-11-11 23:49:55 +00:00
Lex Recover better from an incompatible .pcm file being provided by -fmodule-file=. 2016-12-02 01:52:28 +00:00
Parse [ObjC] Avoid a @try/@finally/@autoreleasepool fixit when parsing an expression 2016-12-01 12:14:38 +00:00
Rewrite [analyzer] Re-apply r283092, attempt no.4, chunk no.4 (last) 2016-10-07 19:25:10 +00:00
Sema PR31081: ignore exception specifications when deducing function template 2016-12-01 02:11:49 +00:00
Serialization [OpenCL] Refactor read_only/write_only pipes. 2016-12-01 11:30:49 +00:00
StaticAnalyzer [OpenMP] Sema and parsing for 'teams distribute parallel for simd' pragma 2016-11-30 23:51:03 +00:00
Tooling Extend CompilationDatabase by a field for the output filename 2016-12-01 23:37:45 +00:00
CMakeLists.txt