]> granicus.if.org Git - clang/commit
CXXRecordDecl: Split getBases/getVBases into a slow and a fast path.
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 4 Jul 2012 17:03:33 +0000 (17:03 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 4 Jul 2012 17:03:33 +0000 (17:03 +0000)
commitee3096a2d3092892d4c6f607a6323d9409714ed5
tree6a556ebb22a4b8eaeb391e2e3c76abf416b7daa1
parent2c7886ddec1e2cee68daee9866637d2e02f434ef
CXXRecordDecl: Split getBases/getVBases into a slow and a fast path.

This avoids costly computation of getASTContext() and drops the header
dependency from DeclCXX.h to ASTContext.h.

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