summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-17 22:49:50 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-06-17 22:49:50 +0000
commitc4b766bc65927dd1b09c1014287aa5e0325dcb1c (patch)
tree36e56c0e8799cc11e8d6b30458862e1e76bd5d20 /clang/lib/Sema/SemaDecl.cpp
parentb1743254e7e3c273b4dafe1512527d2163ae3a3e (diff)
downloadbcm5719-llvm-c4b766bc65927dd1b09c1014287aa5e0325dcb1c.tar.gz
bcm5719-llvm-c4b766bc65927dd1b09c1014287aa5e0325dcb1c.zip
Move CXXMethodDecl::OutOfLineDefinition into Decl::OutOfLine.
llvm-svn: 73651
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 829ea910284..0c5ec60e887 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -183,7 +183,7 @@ DeclSpec::TST Sema::isTagName(IdentifierInfo &II, Scope *S) {
DeclContext *Sema::getContainingDC(DeclContext *DC) {
if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(DC)) {
// A C++ out-of-line method will return to the file declaration context.
- if (MD->isOutOfLineDefinition())
+ if (MD->isOutOfLine())
return MD->getLexicalDeclContext();
// A C++ inline method is parsed *after* the topmost class it was declared
OpenPOWER on IntegriCloud