commit | 28db7ceabd3ff35e90a70a6042db640e98ea8a37 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Wed Jan 18 02:45:01 2012 +0000 |
committer | Anna Zaks <ganna@apple.com> | Wed Jan 18 02:45:01 2012 +0000 |
tree | af0bf8f9b8cfbf4e359e305c28c8fa9e7518e486 | |
parent | 72cd229398c2ba402567c97725cc67d436060cc5 [diff] [blame] |
Constify FunctionDecl::getmemoryFunctionKind(). llvm-svn: 148369
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp index 1951363..001620a 100644 --- a/clang/lib/AST/Decl.cpp +++ b/clang/lib/AST/Decl.cpp
@@ -2290,7 +2290,7 @@ return SourceRange(getOuterLocStart(), EndRangeLoc); } -unsigned FunctionDecl::getMemoryFunctionKind() { +unsigned FunctionDecl::getMemoryFunctionKind() const { IdentifierInfo *FnInfo = getIdentifier(); if (!FnInfo)