diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-06-17 22:49:50 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-06-17 22:49:50 +0000 |
commit | c4b766bc65927dd1b09c1014287aa5e0325dcb1c (patch) | |
tree | 36e56c0e8799cc11e8d6b30458862e1e76bd5d20 /clang/lib/Sema/SemaDecl.cpp | |
parent | b1743254e7e3c273b4dafe1512527d2163ae3a3e (diff) | |
download | bcm5719-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.cpp | 2 |
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 |