diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-17 22:39:59 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-17 22:39:59 +0000 |
commit | 4087f27e5416c799bcb6be072f905be752acb61c (patch) | |
tree | 24dfa4a8e27b617c00b1e40677a054356ab7affc /lib/Sema/SemaDecl.cpp | |
parent | 5505413ee8e4e2924f52ba81181071f3a492e7d9 (diff) |
StringRef'ication of lots stuff, patch by Peter Davies!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index b7b802a72f..550dcb8aeb 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -4789,7 +4789,7 @@ Sema::DeclPtrTy Sema::ActOnStartOfFunctionDef(Scope *FnBodyScope, DeclPtrTy D) { // emitted. Diag(FD->getLocation(), diag::warn_redeclaration_without_attribute_prev_attribute_ignored) - << FD->getNameAsCString() << "dllimport"; + << FD->getName() << "dllimport"; } } return DeclPtrTy::make(FD); |