summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-rename/USRFinder.h
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@vmiklos.hu>2016-08-04 07:43:29 +0000
committerMiklos Vajna <vmiklos@vmiklos.hu>2016-08-04 07:43:29 +0000
commit0c07f0cb0b467ed1687880785125b9bdbfa25a7a (patch)
treeb51c23413291ae0fb178cb1e46a0c92abf3b4c0f /clang-tools-extra/clang-rename/USRFinder.h
parent7e9abea2aea8639b78eb34dbe6131bb88900bdc7 (diff)
downloadbcm5719-llvm-0c07f0cb0b467ed1687880785125b9bdbfa25a7a.tar.gz
bcm5719-llvm-0c07f0cb0b467ed1687880785125b9bdbfa25a7a.zip
Run clang-format on clang-rename code
So that later commits don't introduce non-functional changes when running clang-format before committing. Reviewers: klimek Differential Revision: https://reviews.llvm.org/D23153 llvm-svn: 277702
Diffstat (limited to 'clang-tools-extra/clang-rename/USRFinder.h')
-rw-r--r--clang-tools-extra/clang-rename/USRFinder.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang-tools-extra/clang-rename/USRFinder.h b/clang-tools-extra/clang-rename/USRFinder.h
index 727a81514fb..3ff639df83e 100644
--- a/clang-tools-extra/clang-rename/USRFinder.h
+++ b/clang-tools-extra/clang-rename/USRFinder.h
@@ -49,7 +49,7 @@ std::string getUSRForDecl(const Decl *Decl);
class NestedNameSpecifierLocFinder : public MatchFinder::MatchCallback {
public:
explicit NestedNameSpecifierLocFinder(ASTContext &Context)
- : Context(Context) {}
+ : Context(Context) {}
std::vector<NestedNameSpecifierLoc> getNestedNameSpecifierLocations() {
addMatchers();
@@ -65,8 +65,8 @@ private:
}
virtual void run(const MatchFinder::MatchResult &Result) {
- const auto *NNS =
- Result.Nodes.getNodeAs<NestedNameSpecifierLoc>("nestedNameSpecifierLoc");
+ const auto *NNS = Result.Nodes.getNodeAs<NestedNameSpecifierLoc>(
+ "nestedNameSpecifierLoc");
Locations.push_back(*NNS);
}
@@ -74,7 +74,6 @@ private:
std::vector<NestedNameSpecifierLoc> Locations;
MatchFinder Finder;
};
-
}
}
OpenPOWER on IntegriCloud