commit | db4d4bb03df52920cf379797a7ff5c9900f938a6 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Oct 13 18:05:20 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Oct 13 18:05:20 2010 +0000 |
tree | 03b7cdd417efc181b83b5a850d9ff33561bee530 | |
parent | b535041ee33c5eff255832bc5541c8d52aae8254 [diff] |
Introduce a bit into Type that keeps track of whether there are any unnamed or local types within that type. This bit is cached along with the linkage of a type, so that it can be recomputed (e.g., when we see that a typedef has given a name to an anonymous declaration). Use this bit when checking C++03 [temp.arg.type]p2, so that we don't walk template argument types repeatedly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116413 91177308-0d34-0410-b5e6-96231b3b80d8