]> granicus.if.org Git - clang/commit
Minor optimization; if we have a CXXRecordDecl we can get the definition decl directl...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 19 Oct 2010 18:06:47 +0000 (18:06 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Tue, 19 Oct 2010 18:06:47 +0000 (18:06 +0000)
commit0a2e0976d60264724b9a1e39d3f63660c94b607d
tree206afb50b7f1550491a3b342dad7b3ce1679b94c
parent1d2a4311da8b332fd309992c1a426420722e4ac5
Minor optimization; if we have a CXXRecordDecl we can get the definition decl directly without iterating over the redeclarations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116837 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/Decl.cpp