]> granicus.if.org Git - clang/commit
Add a missing 'classof' to AST Node TypoExpr to identify its 'Kind'.
authorFaisal Vali <faisalv@yahoo.com>
Sun, 23 Aug 2015 13:14:42 +0000 (13:14 +0000)
committerFaisal Vali <faisalv@yahoo.com>
Sun, 23 Aug 2015 13:14:42 +0000 (13:14 +0000)
commit3e0a40ed30e083d64838ed0020c281ad29dc06e1
treeadf7ad17079724be598ce890c7efe95f0daf7517
parent75d417fd633726cd0f2524f2b3a890a2ec8ba2ac
Add a missing 'classof' to AST Node TypoExpr to identify its 'Kind'.

I'm not sure why TypoExpr had its classof left out - but I expect every AST node should fulfill the 'contract of classof' (http://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html).

There should be no functionality change.  I just happened to notice it was missing, while messing around with something else.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@245812 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Expr.h