r198047 - No need for the manual quotes and extra getName() call. No functional changes intended.
Aaron Ballman
aaron at aaronballman.com
Thu Dec 26 07:06:01 PST 2013
Author: aaronballman
Date: Thu Dec 26 09:06:01 2013
New Revision: 198047
URL: http://llvm.org/viewvc/llvm-project?rev=198047&view=rev
Log:
No need for the manual quotes and extra getName() call. No functional changes intended.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=198047&r1=198046&r2=198047&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Thu Dec 26 09:06:01 2013
@@ -2137,7 +2137,7 @@ def warn_thread_attribute_decl_not_locka
"with 'lockable' attribute">,
InGroup<ThreadSafetyAttributes>, DefaultIgnore;
def warn_thread_attribute_decl_not_pointer : Warning<
- "'%0' only applies to pointer types; type here is %1">,
+ "%0 only applies to pointer types; type here is %1">,
InGroup<ThreadSafetyAttributes>, DefaultIgnore;
def err_attribute_argument_out_of_range : Error<
"%0 attribute parameter %1 is out of bounds: "
Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=198047&r1=198046&r2=198047&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Thu Dec 26 09:06:01 2013
@@ -396,7 +396,7 @@ static bool threadSafetyCheckIsPointer(S
}
S.Diag(Attr.getLoc(), diag::warn_thread_attribute_decl_not_pointer)
- << Attr.getName()->getName() << QT;
+ << Attr.getName() << QT;
return false;
}
More information about the cfe-commits
mailing list