llvm-project/clang/unittests
Malcolm Parsons 57c09c8e23 [Sema] Store a SourceRange for multi-token builtin types
Summary:
clang-tidy's modernize-use-auto check uses the SourceRange of a
TypeLoc when replacing the type with auto.
This was producing the wrong result for multi-token builtin types
like long long:

-long long *ll = new long long();
+auto long *ll = new long long();

Reviewers: alexfh, hokein, rsmith, Prazek, aaron.ballman

Subscribers: cfe-commits

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

llvm-svn: 284885
2016-10-21 21:13:56 +00:00
..
AST [Sema] Store a SourceRange for multi-token builtin types 2016-10-21 21:13:56 +00:00
ASTMatchers [ASTMatcher] Clarify isStaticStorageClass and hasStaticStorageDuration documents. 2016-09-27 07:53:20 +00:00
Analysis CFGTests: Update libdeps. 2016-07-08 17:06:27 +00:00
Basic Turn FileManager DirectoryEntry::Name from raw pointer to StringRef (NFC) 2016-10-11 07:31:29 +00:00
CodeGen
Driver [Driver] Set the default driver mode based on the executable. 2016-08-12 17:47:52 +00:00
Format clang-format: [JS] Fix template string ASI. 2016-10-21 05:11:38 +00:00
Frontend [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Lex
Rewrite
Sema
StaticAnalyzer
Tooling Try to fix windows bot file path style failure caused by r284219. 2016-10-14 10:10:26 +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