summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/TokenAnnotator.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Format/TokenAnnotator.h')
-rw-r--r--clang/lib/Format/TokenAnnotator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/Format/TokenAnnotator.h b/clang/lib/Format/TokenAnnotator.h
index b364082391f..a2080b5b6f3 100644
--- a/clang/lib/Format/TokenAnnotator.h
+++ b/clang/lib/Format/TokenAnnotator.h
@@ -75,7 +75,7 @@ public:
CanBreakBefore(false), MustBreakBefore(false),
ClosesTemplateDeclaration(false), MatchingParen(NULL),
ParameterCount(0), BindingStrength(0), SplitPenalty(0),
- LongestObjCSelectorName(0), Parent(NULL),
+ LongestObjCSelectorName(0), DefinesFunctionType(false), Parent(NULL),
FakeRParens(0), LastInChainOfCalls(false),
PartOfMultiVariableDeclStmt(false), NoMoreTokensOnLevel(false) {}
@@ -164,6 +164,9 @@ public:
/// definition or call, this contains the length of the longest name.
unsigned LongestObjCSelectorName;
+ /// \brief \c true if this is a "(" that starts a function type definition.
+ bool DefinesFunctionType;
+
std::vector<AnnotatedToken> Children;
AnnotatedToken *Parent;
OpenPOWER on IntegriCloud