summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/WhitespaceManager.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-11-24 15:42:34 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-11-24 15:42:34 +0000
commit484ee9b4043e985589bb5d194b1b56351fdc9e25 (patch)
treeb3186321ce4832b2018b65752162f0e3a969fcc1 /clang/lib/Format/WhitespaceManager.cpp
parentef43413593f2de126139f1242c27c00c131bb938 (diff)
downloadbcm5719-llvm-484ee9b4043e985589bb5d194b1b56351fdc9e25.tar.gz
bcm5719-llvm-484ee9b4043e985589bb5d194b1b56351fdc9e25.zip
Reverting r222638; it broke the MSVC build bots because Visual Studio 2012 does not support variadic templates. Also reverting r222641 because it was relying on 222638.
llvm-svn: 222656
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
-rw-r--r--clang/lib/Format/WhitespaceManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/WhitespaceManager.cpp b/clang/lib/Format/WhitespaceManager.cpp
index a2f599142df..47b94de4c6f 100644
--- a/clang/lib/Format/WhitespaceManager.cpp
+++ b/clang/lib/Format/WhitespaceManager.cpp
@@ -81,7 +81,7 @@ void WhitespaceManager::replaceWhitespaceInToken(
// FIXME: We still need to take this change in account to properly
// calculate the new length of the comment and to calculate the changes
// for which to do the alignment when aligning comments.
- Tok.is(TT_LineComment) && Newlines > 0 ? tok::comment : tok::unknown,
+ Tok.Type == TT_LineComment && Newlines > 0 ? tok::comment : tok::unknown,
InPPDirective && !Tok.IsFirst));
}
OpenPOWER on IntegriCloud