llvm-project/clang/unittests
Daniel Jasper 23c2b5ae7e clang-format: Don't remove existing spaces between identifier and ::.
This can lead to bad behavior with macros that are used to annotate
functions (e.g. ALWAYS_INLINE).

Before, this:
  ALWAYS_INLINE ::std::string getName() ...

was turned into:
  ALWAYS_INLINE::std::string getName() ...

If it turns out that clang-format is failing to clean up a lot of the
existing spaces now, we can add more analyses of the identifier. It
should not currently. Cases where clang-format breaks nested name
specifiers should be fine as clang-format wraps after the "::". Thus, a
line getting longer and then shorter again should lead to the same
original code.

llvm-svn: 295437
2017-02-17 10:44:07 +00:00
..
AST Tracking exception specification source locations 2017-01-12 16:11:28 +00:00
ASTMatchers [gtest] The way EXPECT_TEST now works after upgrading gtest triggers an 2017-01-04 23:57:25 +00:00
Analysis CFGBuilder: Fix crash when visiting delete expression on dependent type 2016-12-05 11:33:19 +00:00
Basic shared_ptrify (from InclusiveRefCntPtr) HeaderSearchOptions 2017-01-06 01:04:46 +00:00
CodeGen Make sure the LLVMContext outlive the CompilerInstance 2016-04-14 05:37:41 +00:00
Driver Fix shared library build after r291938 by adding missing dependency on libOption 2017-01-13 19:47:55 +00:00
Format clang-format: Don't remove existing spaces between identifier and ::. 2017-02-17 10:44:07 +00:00
Frontend Reapply "IntrusiveRefCntPtr -> std::shared_ptr for CompilerInvocationBase and CodeCompleteConsumer" 2017-01-06 19:49:01 +00:00
Lex shared_ptrify (from InclusiveRefCntPtr) HeaderSearchOptions 2017-01-06 01:04:46 +00:00
Rewrite Remove autoconf support 2016-01-26 21:30:40 +00:00
Sema [Sema] Allow an external sema source to handle delayed typo corrections. 2016-05-19 10:46:10 +00:00
StaticAnalyzer Add a method to get the list of registered static analyzer checkers. 2016-11-08 07:23:32 +00:00
Tooling [clang-tidy] Add check name to YAML export 2017-01-03 14:35:47 +00:00
libclang Fixed more signed/unsigned mismatch warnings introduced in my change at r279076 2016-08-18 20:56:48 +00:00
CMakeLists.txt CFGBuilder: Fix crash when visiting a range-based for over a dependent type 2016-07-08 10:50:51 +00:00