summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriterDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-20 08:09:14 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-20 08:09:14 +0000
commita3aeb5a8f1e5fc9d060e160fd8a3eb80d864e9a9 (patch)
tree7dddbf19e8681c42667777d46d4ccd55d0099a56 /clang/lib/Frontend/PCHWriterDecl.cpp
parentef21d5d8702a1e8a46b75e7232af6185b9bde102 (diff)
downloadbcm5719-llvm-a3aeb5a8f1e5fc9d060e160fd8a3eb80d864e9a9.tar.gz
bcm5719-llvm-a3aeb5a8f1e5fc9d060e160fd8a3eb80d864e9a9.zip
Introduce Decl::getSourceRange() which, like Stmt::getSourceRange(), represents the range that the declaration covers.
Add initial support for NamespaceDecl, VarDecl, and FunctionDecl: -NamespaceDecl range is from name to '}' -VarDecl is from name to possible init expression -FunctionDecl is from name to last parameter name or to end of its function body. llvm-svn: 73821
Diffstat (limited to 'clang/lib/Frontend/PCHWriterDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud