diff options
| author | John McCall <rjmccall@apple.com> | 2010-08-26 23:41:50 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-08-26 23:41:50 +0000 |
| commit | faf5fb4b78c79ba5ee3ecf30b44966b22979ab71 (patch) | |
| tree | bca2ae0a495c577d87f1bae7612eba699312a8c7 /clang/lib/Sema/SemaDecl.cpp | |
| parent | e2e0b451d5b0cf19c3f60327c8c402df65a88f28 (diff) | |
| download | bcm5719-llvm-faf5fb4b78c79ba5ee3ecf30b44966b22979ab71.tar.gz bcm5719-llvm-faf5fb4b78c79ba5ee3ecf30b44966b22979ab71.zip | |
One who seeks knowledge learns something new every day.
One who seeks the Tao unlearns something new every day.
Less and less remains until you arrive at non-action.
When you arrive at non-action,
nothing will be left undone.
llvm-svn: 112244
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 3473bffce86..122a956cb38 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -42,14 +42,6 @@ using namespace clang; using namespace sema; -/// getDeclName - Return a pretty name for the specified decl if possible, or -/// an empty string if not. This is used for pretty crash reporting. -std::string Sema::getDeclName(Decl *D) { - if (NamedDecl *DN = dyn_cast_or_null<NamedDecl>(D)) - return DN->getQualifiedNameAsString(); - return ""; -} - Sema::DeclGroupPtrTy Sema::ConvertDeclToDeclGroup(Decl *Ptr) { return DeclGroupPtrTy::make(DeclGroupRef(Ptr)); } @@ -4921,7 +4913,7 @@ static void ComputeNRVO(Stmt *Body, FunctionScopeInfo *Scope) { const_cast<VarDecl*>(NRVOCandidate)->setNRVOVariable(true); } -Decl *Sema::ActOnFinishFunctionBody(Decl *D, StmtArg BodyArg) { +Decl *Sema::ActOnFinishFunctionBody(Decl *D, Stmt *BodyArg) { return ActOnFinishFunctionBody(D, move(BodyArg), false); } |

