summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp
diff options
context:
space:
mode:
authorEtienne Bergeron <etienneb@google.com>2016-04-21 16:57:56 +0000
committerEtienne Bergeron <etienneb@google.com>2016-04-21 16:57:56 +0000
commit9d26599078d956e5c4fbb9db51b54c4752106133 (patch)
tree4341baccc6c72e1bd8aef14cc498232b5395468e /clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp
parent0c869a752ecb3aa06b4c01d36962bac7a301264e (diff)
downloadbcm5719-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.cpp4
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,
OpenPOWER on IntegriCloud