commit | 919814def90acecd25a35445862f0c0ff72a9b05 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Sep 09 23:01:35 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Sep 09 23:01:35 2011 +0000 |
tree | 9156f6e1fb295f3bb9c0e68c6924f4f61bc572fd | |
parent | d5b16055782034ca90153880c36bd88b59c63aa0 [diff] |
Introduce a new predicate Decl::isFromASTFile() to determine whether a declaration was deserialized from an AST file. Use this instead of Decl::getPCHLevel() wherever possible. This is a simple step toward killing off Decl::getPCHLevel(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139427 91177308-0d34-0410-b5e6-96231b3b80d8