diff options
author | Anna Zaks <ganna@apple.com> | 2012-01-18 02:45:01 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-01-18 02:45:01 +0000 |
commit | 9392d4e4da695e2e1a5befbb3a074793a7265471 (patch) | |
tree | d3b74bca55ffce44353794ddafbf93d3afc10440 /lib/AST/Decl.cpp | |
parent | 22afaccd9ab77d46106e94c47907d955a014ae3f (diff) |
Constify FunctionDecl::getmemoryFunctionKind().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index 195136313b..001620a611 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -2290,7 +2290,7 @@ SourceRange FunctionDecl::getSourceRange() const { return SourceRange(getOuterLocStart(), EndRangeLoc); } -unsigned FunctionDecl::getMemoryFunctionKind() { +unsigned FunctionDecl::getMemoryFunctionKind() const { IdentifierInfo *FnInfo = getIdentifier(); if (!FnInfo) |