aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/ASTContext.h
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-02-03 13:23:21 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-02-03 13:23:21 +0000
commitb35cc2d46c4188a0b2d094b3104ce69092c34802 (patch)
treeec2c14dbf8238c121fe83696ed3166990315a397 /include/clang/AST/ASTContext.h
parente414cc167815e773e4fd27e44943734d54160cab (diff)
downloadclang-b35cc2d46c4188a0b2d094b3104ce69092c34802.tar.gz
Constify ASTContext::getObjContainingInterface
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/ASTContext.h')
-rw-r--r--include/clang/AST/ASTContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/ASTContext.h b/include/clang/AST/ASTContext.h
index 00af4cb08a..eb14ff5b04 100644
--- a/include/clang/AST/ASTContext.h
+++ b/include/clang/AST/ASTContext.h
@@ -1982,7 +1982,7 @@ public:
/// \brief Returns the Objective-C interface that \p ND belongs to if it is
/// an Objective-C method/property/ivar etc. that is part of an interface,
/// otherwise returns null.
- ObjCInterfaceDecl *getObjContainingInterface(NamedDecl *ND) const;
+ const ObjCInterfaceDecl *getObjContainingInterface(const NamedDecl *ND) const;
/// \brief Set the copy inialization expression of a block var decl.
void setBlockVarCopyInits(VarDecl*VD, Expr* Init);