projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e5fca7
)
clang-rename: fix formatting in USRFinder
author
Miklos Vajna
<vmiklos@vmiklos.hu>
Tue, 30 Aug 2016 07:24:57 +0000
(07:24 +0000)
committer
Miklos Vajna
<vmiklos@vmiklos.hu>
Tue, 30 Aug 2016 07:24:57 +0000
(07:24 +0000)
As detected by clang-format.
llvm-svn: 280063
clang-tools-extra/clang-rename/USRFinder.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/clang-rename/USRFinder.cpp
b/clang-tools-extra/clang-rename/USRFinder.cpp
index 400765351e82676b1fc6dcfea870d3f01e044038..2766b5ae53e9bbe3d997295d7beb143ebf96cbcc 100644
(file)
--- a/
clang-tools-extra/clang-rename/USRFinder.cpp
+++ b/
clang-tools-extra/clang-rename/USRFinder.cpp
@@
-76,8
+76,7
@@
public:
bool VisitTypeLoc(const TypeLoc Loc) {
const SourceLocation TypeBeginLoc = Loc.getBeginLoc();
const SourceLocation TypeEndLoc = Lexer::getLocForEndOfToken(
- TypeBeginLoc, 0, Context.getSourceManager(),
- Context.getLangOpts());
+ TypeBeginLoc, 0, Context.getSourceManager(), Context.getLangOpts());
if (const auto *TemplateTypeParm =
dyn_cast<TemplateTypeParmType>(Loc.getType())) {
return setResult(TemplateTypeParm->getDecl(), TypeBeginLoc, TypeEndLoc);