summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-query/Query.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2019-12-18 22:35:46 +0000
committerStephen Kelly <steveire@gmail.com>2019-12-26 20:40:33 +0000
commit522ee29a4fb3814db604b585c8637247477ec057 (patch)
tree8ea64e7b2e220133677d3b455def9684d2bf201f /clang-tools-extra/clang-query/Query.h
parent04926e67fda210c9709da4f8672ac0b5147ebb90 (diff)
downloadbcm5719-llvm-522ee29a4fb3814db604b585c8637247477ec057.tar.gz
bcm5719-llvm-522ee29a4fb3814db604b585c8637247477ec057.zip
Allow newlines in AST Matchers in clang-query files
Reviewers: aaron.ballman Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D71842
Diffstat (limited to 'clang-tools-extra/clang-query/Query.h')
-rw-r--r--clang-tools-extra/clang-query/Query.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-query/Query.h b/clang-tools-extra/clang-query/Query.h
index 56af486984e..78bcbc79cdf 100644
--- a/clang-tools-extra/clang-query/Query.h
+++ b/clang-tools-extra/clang-query/Query.h
@@ -44,6 +44,7 @@ struct Query : llvm::RefCountedBase<Query> {
/// \return false if an error occurs, otherwise return true.
virtual bool run(llvm::raw_ostream &OS, QuerySession &QS) const = 0;
+ StringRef RemainingContent;
const QueryKind Kind;
};
OpenPOWER on IntegriCloud