]> granicus.if.org Git - clang/commit
Push TypeSourceInfo::getTypeLoc() into a header file so that it's
authorJohn McCall <rjmccall@apple.com>
Thu, 6 May 2010 09:25:57 +0000 (09:25 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 6 May 2010 09:25:57 +0000 (09:25 +0000)
commit3c385c28cf1f27b193a620d2e51f814873362ceb
treed2b2fb44c7173857075b2eae9e41ccdd7e19840e
parent04a025e9980a5d9ce4bebbeff53e76ffb8377fe0
Push TypeSourceInfo::getTypeLoc() into a header file so that it's
inlineable.  That header file has to be TypeLoc.h, which means that
TypeLoc.h needs to depend on Decl.h because TypeSourceInfo doesn't
have its own header.  That could be remedied, though.

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