================
Comment at: clang-tidy/misc/StaticAssertCheck.cpp:84
@@ -77,3 +83,3 @@
// False literal is not the result of macro expansion.
- if (IsAlwaysFalse) {
+ if (IsAlwaysFalse && (!CastExpr || CastType.endswith("*"))) {
SourceLocation FalseLiteralLoc =
----------------
Wait, doesn't `CastExpr->getType().isPointerType()` work?
http://reviews.llvm.org/D8920
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits