summaryrefslogtreecommitdiff
path: root/include/clang/Sema/Sema.h
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-05-03 13:12:11 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-05-03 13:12:11 +0000
commit8eead16398c003dc2a8be22f44e8c2d92af80479 (patch)
treef91009f1e6708a069b9c3cb6a2486496119f1e8b /include/clang/Sema/Sema.h
parent63063f5dd7e6cee865f513d3c3f283fc20de18d0 (diff)
downloadclang-8eead16398c003dc2a8be22f44e8c2d92af80479.tar.gz
clang-8eead16398c003dc2a8be22f44e8c2d92af80479.tar.bz2
clang-8eead16398c003dc2a8be22f44e8c2d92af80479.tar.xz
Add const qualifier to Sema::getTypeName's parameter `II`
Patch by Ismail Pazarbasi. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/Sema.h')
-rw-r--r--include/clang/Sema/Sema.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index 9aee774d1f..ab8ad51a0a 100644
--- a/include/clang/Sema/Sema.h
+++ b/include/clang/Sema/Sema.h
@@ -1261,7 +1261,7 @@ public:
bool isSimpleTypeSpecifier(tok::TokenKind Kind) const;
- ParsedType getTypeName(IdentifierInfo &II, SourceLocation NameLoc,
+ ParsedType getTypeName(const IdentifierInfo &II, SourceLocation NameLoc,
Scope *S, CXXScopeSpec *SS = 0,
bool isClassName = false,
bool HasTrailingDot = false,