diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-04-21 16:57:56 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-04-21 16:57:56 +0000 |
commit | 9d26599078d956e5c4fbb9db51b54c4752106133 (patch) | |
tree | 4341baccc6c72e1bd8aef14cc498232b5395468e /clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp | |
parent | 0c869a752ecb3aa06b4c01d36962bac7a301264e (diff) | |
download | bcm5719-llvm-9d26599078d956e5c4fbb9db51b54c4752106133.tar.gz bcm5719-llvm-9d26599078d956e5c4fbb9db51b54c4752106133.zip |
[clang-tidy] Cleanup some ast-matchers and lift some to utils.
Summary:
Little cleanup to lift-out and to remove some frequently used
ast-matchers.
Some of theses matchers are candidates to be lifted to ASTMatchers.h.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19200
llvm-svn: 267003
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp b/clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp index e1955dec482..86e5d27fe6c 100644 --- a/clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp +++ b/clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp @@ -18,8 +18,8 @@ namespace tidy { namespace { class MacroParenthesesPPCallbacks : public PPCallbacks { public: - explicit MacroParenthesesPPCallbacks(Preprocessor *PP, - MacroParenthesesCheck *Check) + MacroParenthesesPPCallbacks(Preprocessor *PP, + MacroParenthesesCheck *Check) : PP(PP), Check(Check) {} void MacroDefined(const Token &MacroNameTok, |