Skip to content
Snippets Groups Projects
Commit f39f6ff8 authored by Manuel Klimek's avatar Manuel Klimek
Browse files

Remove outdated fixme.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171716 91177308-0d34-0410-b5e6-96231b3b80d8
parent d544c574
No related branches found
No related tags found
No related merge requests found
...@@ -134,9 +134,6 @@ public: ...@@ -134,9 +134,6 @@ public:
Line.Tokens[i].TokenLength; Line.Tokens[i].TokenLength;
// A special case for the colon of a constructor initializer as this only // A special case for the colon of a constructor initializer as this only
// needs to be put on a new line if the line needs to be split. // needs to be put on a new line if the line needs to be split.
// FIXME: We need to check whether we're in a preprocessor directive, even
// if all tokens fit - the next line might be a preprocessor directive,
// too, in which case we need to account for the possible escaped newline.
if (Columns > Style.ColumnLimit - (Line.InPPDirective ? 1 : 0) || if (Columns > Style.ColumnLimit - (Line.InPPDirective ? 1 : 0) ||
(Annotations[i].MustBreakBefore && (Annotations[i].MustBreakBefore &&
Annotations[i].Type != TokenAnnotation::TT_CtorInitializerColon)) { Annotations[i].Type != TokenAnnotation::TT_CtorInitializerColon)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment