]> granicus.if.org Git - clang/commit
Add a "TypeSpecStartLoc" to FieldDecl. Patch contributed by Enea Zaffanella.
authorSteve Naroff <snaroff@apple.com>
Tue, 14 Jul 2009 14:58:18 +0000 (14:58 +0000)
committerSteve Naroff <snaroff@apple.com>
Tue, 14 Jul 2009 14:58:18 +0000 (14:58 +0000)
commitea218b8e8f9ba82d1c76bcb7e86d121a5f65ebed
treef99a9a206cec20abda08741b4f3e77499238fdb6
parent1a75ee270941dd8b5c7fdd23dffb5e81a0fd7290
Add a "TypeSpecStartLoc" to FieldDecl. Patch contributed by Enea Zaffanella.

Note: One day, it might be useful to consider adding this info to DeclGroup (as the comments in FunctionDecl/VarDecl suggest). For now, I think this works fine. I considered moving this to ValueDecl (a common ancestor of FunctionDecl/VarDecl/FieldDecl), however this would add overhead to EnumConstantDecl (which would burn memory and isn't necessary).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75635 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/AST/Decl.cpp
lib/Frontend/PCHReaderDecl.cpp
lib/Frontend/PCHWriterDecl.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplateInstantiateDecl.cpp