diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-06-20 08:09:14 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-06-20 08:09:14 +0000 |
commit | a3aeb5a8f1e5fc9d060e160fd8a3eb80d864e9a9 (patch) | |
tree | 7dddbf19e8681c42667777d46d4ccd55d0099a56 /clang/lib/Frontend/PCHWriterDecl.cpp | |
parent | ef21d5d8702a1e8a46b75e7232af6185b9bde102 (diff) | |
download | bcm5719-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