llvm-project/clang/lib
Nico Weber 208661b206 clang-format: Don't insert spaces in front of :: for Java 8 Method References.
The existing code kept the space if it was there for identifiers, and it didn't
handle `this`. After this patch, for Java `this` is handled in addition to
identifiers, and existing space is always stripped between identifier and `::`.

Also accept `::` in addition to `.` in front of `<` in `foo::<T>bar` generic
calls.

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

llvm-svn: 343872
2018-10-05 18:22:21 +00:00
..
ARCMigrate Add missing library dependency to fix build break after rC340247 2018-08-21 11:41:41 +00:00
AST Emit diagnostic note when calling an invalid function declaration. 2018-10-05 17:49:48 +00:00
ASTMatchers Add matchers missing from dynamic AST registry 2018-10-03 20:52:51 +00:00
Analysis Thread safety analysis: Examine constructor arguments 2018-10-04 23:51:14 +00:00
Basic [OPENMP] Add reverse_offload clause to requires directive 2018-10-03 20:07:58 +00:00
CodeGen [OPENMP][NVPTX] Fix emission of __kmpc_global_thread_num() for non-SPMD 2018-10-05 15:27:47 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver [AArch64][ARM] Context sensitive meaning of crypto 2018-10-04 07:38:53 +00:00
Edit Port getLocEnd -> getEndLoc 2018-08-09 21:09:38 +00:00
Format clang-format: Don't insert spaces in front of :: for Java 8 Method References. 2018-10-05 18:22:21 +00:00
Frontend [Frontend] Delete -print-decl-contexts 2018-10-03 03:50:44 +00:00
FrontendTool [Frontend] Delete -print-decl-contexts 2018-10-03 03:50:44 +00:00
Headers [COFF, ARM64] Add __getReg intrinsic 2018-10-04 22:32:42 +00:00
Index [Index] Respect "IndexFunctionLocals" option for type loc. 2018-10-04 11:03:55 +00:00
Lex [Preprocesssor] Filename should fall back to the written name when typo correction fails. 2018-10-02 14:42:51 +00:00
Parse [SEMA] split ExtWarn dupl-decl-spec's into Extension and ExtWarn 2018-10-03 23:09:29 +00:00
Rewrite Remove trailing space 2018-07-30 19:24:48 +00:00
Sema Fix llvm-clang-x86_64-expensive-checks-win build by setting bigobj flag. 2018-10-05 12:33:57 +00:00
Serialization [OPENMP] Add reverse_offload clause to requires directive 2018-10-03 20:07:58 +00:00
StaticAnalyzer [analyzer] Do not crash if the assumption added in TrustNonNullChecker is enough to make the state unfeasible 2018-10-03 22:31:09 +00:00
Tooling [Tooling] Get rid of uses of llvm::Twine::str which is slow. NFC 2018-09-27 14:50:24 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00