diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-12-06 17:51:50 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2010-12-06 17:51:50 +0000 |
commit | f0b0ccce127857e7e4fb829e017dbcb7487884c4 (patch) | |
tree | 4490e843a5d5f9ee5d25a1bf268cea1e24c73f56 /include/clang/Sema/AttributeList.h | |
parent | b5f35bae05f1ce3ae62ca52b266a086fd019e89b (diff) |
Use the source location of the parameter, when it makes sense, for diagnostics in HandleCleanupAttr.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/AttributeList.h')
-rw-r--r-- | include/clang/Sema/AttributeList.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Sema/AttributeList.h b/include/clang/Sema/AttributeList.h index 4862ff5b12..c02ea5ef13 100644 --- a/include/clang/Sema/AttributeList.h +++ b/include/clang/Sema/AttributeList.h @@ -168,6 +168,7 @@ public: SourceLocation getScopeLoc() const { return ScopeLoc; } IdentifierInfo *getParameterName() const { return ParmName; } + SourceLocation getParameterLoc() const { return ParmLoc; } bool isDeclspecAttribute() const { return DeclspecAttribute; } bool isCXX0XAttribute() const { return CXX0XAttribute; } |