summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-05-27 12:36:28 +0000
committerManuel Klimek <klimek@google.com>2013-05-27 12:36:28 +0000
commit75081b5cf86ce3ee2118a54c0854a28b80131a2c (patch)
treefb1694a1327d82735f1ac3876bfcabf00f319960 /clang/lib/Format
parent32a796bc5befe3f14599491dde58cb0f3203821b (diff)
downloadbcm5719-llvm-75081b5cf86ce3ee2118a54c0854a28b80131a2c.tar.gz
bcm5719-llvm-75081b5cf86ce3ee2118a54c0854a28b80131a2c.zip
Address post-review comment from dblakie.
llvm-svn: 182732
Diffstat (limited to 'clang/lib/Format')
-rw-r--r--clang/lib/Format/UnwrappedLineParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.h b/clang/lib/Format/UnwrappedLineParser.h
index bf3db1ea03b..c738ef13c6d 100644
--- a/clang/lib/Format/UnwrappedLineParser.h
+++ b/clang/lib/Format/UnwrappedLineParser.h
@@ -120,7 +120,7 @@ public:
// up-front.
virtual unsigned getPosition() { return 0; }
virtual FormatToken setPosition(unsigned Position) {
- assert(false);
+ llvm_unreachable("Interface in transition; do not call!");
return FormatToken();
}
};
OpenPOWER on IntegriCloud