diff options
author | Daniel Jasper <djasper@google.com> | 2013-04-08 10:45:44 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-04-08 10:45:44 +0000 |
commit | e7de2a30133a7e901f29149e68d9869db5b1d558 (patch) | |
tree | e709f6b3001e8b22ee9350466bec4afba9ddafac /clang/lib/Format/TokenAnnotator.h | |
parent | bd16eea59f3487fa02c65f43d5a3b72eff3ab5d9 (diff) | |
download | bcm5719-llvm-e7de2a30133a7e901f29149e68d9869db5b1d558.tar.gz bcm5719-llvm-e7de2a30133a7e901f29149e68d9869db5b1d558.zip |
Revert accidental commit r179015.
llvm-svn: 179016
Diffstat (limited to 'clang/lib/Format/TokenAnnotator.h')
-rw-r--r-- | clang/lib/Format/TokenAnnotator.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/clang/lib/Format/TokenAnnotator.h b/clang/lib/Format/TokenAnnotator.h index 605f5067939..c41ee33c439 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), Parent(NULL), FakeLParens(0), FakeRParens(0), LastInChainOfCalls(false), PartOfMultiVariableDeclStmt(false) {} @@ -158,9 +158,8 @@ public: std::vector<AnnotatedToken> Children; AnnotatedToken *Parent; - /// \brief Stores the number of required fake parenthesis and the - /// corresponding operator precedence. - SmallVector<unsigned, 4> FakeLParens; + /// \brief Insert this many fake ( before this token for correct indentation. + unsigned FakeLParens; /// \brief Insert this many fake ) after this token for correct indentation. unsigned FakeRParens; @@ -249,8 +248,6 @@ private: bool canBreakBefore(const AnnotatedLine &Line, const AnnotatedToken &Right); - void printDebugInfo(const AnnotatedLine &Line); - const FormatStyle &Style; SourceManager &SourceMgr; Lexer &Lex; |