summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Decl.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2012-01-18 02:45:01 +0000
committerAnna Zaks <ganna@apple.com>2012-01-18 02:45:01 +0000
commit28db7ceabd3ff35e90a70a6042db640e98ea8a37 (patch)
treeaf0bf8f9b8cfbf4e359e305c28c8fa9e7518e486 /clang/lib/AST/Decl.cpp
parent72cd229398c2ba402567c97725cc67d436060cc5 (diff)
downloadbcm5719-llvm-28db7ceabd3ff35e90a70a6042db640e98ea8a37.tar.gz
bcm5719-llvm-28db7ceabd3ff35e90a70a6042db640e98ea8a37.zip
Constify FunctionDecl::getmemoryFunctionKind().
llvm-svn: 148369
Diffstat (limited to 'clang/lib/AST/Decl.cpp')
-rw-r--r--clang/lib/AST/Decl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp
index 195136313bb..001620a611b 100644
--- a/clang/lib/AST/Decl.cpp
+++ b/clang/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)
OpenPOWER on IntegriCloud