summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-01-03 13:34:55 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-01-03 13:34:55 +0000
commitfee0cd45fe09ecb31f19764d5242896d55023a71 (patch)
tree4c1e16da09adbfab016e491ae0459dd20421b7bb /clang/lib/Sema
parent352dae199ae80adcaf6aed485d687fc8714fe36d (diff)
downloadbcm5719-llvm-fee0cd45fe09ecb31f19764d5242896d55023a71.tar.gz
bcm5719-llvm-fee0cd45fe09ecb31f19764d5242896d55023a71.zip
Removing some more unnecessary manual quotes from diagnostics. Updated the related test case to ensure correctness.
llvm-svn: 198412
Diffstat (limited to 'clang/lib/Sema')
-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 1dec6954625..6f6ee25dcb6 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -9169,7 +9169,7 @@ Decl *Sema::ActOnParamDeclarator(Scope *S, Declarator &D) {
II = D.getIdentifier();
if (!II) {
Diag(D.getIdentifierLoc(), diag::err_bad_parameter_name)
- << GetNameForDeclarator(D).getName().getAsString();
+ << GetNameForDeclarator(D).getName();
D.setInvalidType(true);
}
}
OpenPOWER on IntegriCloud