hanchenye-llvm-project/clang/unittests/AST
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
..
ASTContextParentMapTest.cpp
ASTImporterTest.cpp [ASTImporter] Implement some expression-related AST node import (part 2) 2016-09-28 10:16:56 +00:00
ASTTypeTraitsTest.cpp
ASTVectorTest.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
CMakeLists.txt Recommit r274348 and r274349. The Windows failures should be fixed. 2016-07-08 08:33:56 +00:00
CommentLexer.cpp
CommentParser.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
DeclPrinterTest.cpp
DeclTest.cpp
EvaluateAsRValueTest.cpp
ExternalASTSourceTest.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
MatchVerifier.h
NamedDeclPrinterTest.cpp
PostOrderASTVisitor.cpp Recommit r274348 and r274349. The Windows failures should be fixed. 2016-07-08 08:33:56 +00:00
SourceLocationTest.cpp [Sema] Store a SourceRange for multi-token builtin types 2016-10-21 21:13:56 +00:00
StmtPrinterTest.cpp