]> granicus.if.org Git - clang/commit
Remove mutable data on TagType and InjectedClassNameType, by instead walking the...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 2 Aug 2010 18:27:05 +0000 (18:27 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 2 Aug 2010 18:27:05 +0000 (18:27 +0000)
commited48a8faa10b6750f334540711c7b3949bbfb3ae
tree0e136a1fee2a73b7ea52d7f45569ec98b5fef500
parente04f5fc25cf49e8a5b836459d836c20dc3229a95
Remove mutable data on TagType and InjectedClassNameType, by instead walking the declaration chain in search of a definition. This is necessary for a sane chained PCH implementation. No observable performance change on Carbon.h syntax-only, and bootstraps cleanly.

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