================
Comment at: clang-query/Query.h:60-61
@@ +59,4 @@
+
+ static bool classof(const Query *Q) { return Q->Kind == QK_Invalid; }
+ static bool classof(const InvalidQuery *Q) { return true; }
+};
----------------
These `return true` classof's should be here. See
<http://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html>. In particular, see the
second rule of thumb
<http://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html#rules-of-thumb>.
http://llvm-reviews.chandlerc.com/D2098
BRANCH
clangquery
ARCANIST PROJECT
clang-tools-extra
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits