diff options
author | John McCall <rjmccall@apple.com> | 2009-11-24 18:44:29 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-11-24 18:44:29 +0000 |
commit | 909e58988b3a3bb2ad36bec03aafa1302544fd73 (patch) | |
tree | 0e13d8fdc55039f8575c47494dae35e857e3dd3a /include/clang/AST/DeclarationName.h | |
parent | 5d4d946ec2d88696fd8422aeb64dc29688e6a2c1 (diff) |
DeclarationName::getIdentifier should take a const IdentifierInfo, since the
constructor does anyway.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/DeclarationName.h')
-rw-r--r-- | include/clang/AST/DeclarationName.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/DeclarationName.h b/include/clang/AST/DeclarationName.h index a30f6e860d..0e8aad5d93 100644 --- a/include/clang/AST/DeclarationName.h +++ b/include/clang/AST/DeclarationName.h @@ -293,7 +293,7 @@ public: /// getIdentifier - Create a declaration name that is a simple /// identifier. - DeclarationName getIdentifier(IdentifierInfo *ID) { + DeclarationName getIdentifier(const IdentifierInfo *ID) { return DeclarationName(ID); } |