diff options
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.h')
| -rw-r--r-- | clang/lib/Format/UnwrappedLineParser.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.h b/clang/lib/Format/UnwrappedLineParser.h index fb65078c330..0624c4fd15f 100644 --- a/clang/lib/Format/UnwrappedLineParser.h +++ b/clang/lib/Format/UnwrappedLineParser.h @@ -102,13 +102,6 @@ private: void calculateBraceTypes(); void pushPPConditional(); - // Represents what type of block a left brace opens. - enum LBraceState { - BS_Unknown, - BS_Block, - BS_BracedInit - }; - // FIXME: We are constantly running into bugs where Line.Level is incorrectly // subtracted from beyond 0. Introduce a method to subtract from Line.Level // and use that everywhere in the Parser. @@ -153,11 +146,6 @@ private: // owned outside of and handed into the UnwrappedLineParser. ArrayRef<FormatToken *> AllTokens; - // FIXME: Currently we cannot store attributes with tokens, as we treat - // them as read-only; thus, we now store the brace state indexed by the - // position of the token in the stream (see \c AllTokens). - SmallVector<LBraceState, 16> LBraces; - // Represents preprocessor branch type, so we can find matching // #if/#else/#endif directives. enum PPBranchKind { |

