]> granicus.if.org Git - clang/commit
Switch several more Sema Diag methods over. This simplifies the
authorChris Lattner <sabre@nondot.org>
Wed, 19 Nov 2008 05:08:23 +0000 (05:08 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 19 Nov 2008 05:08:23 +0000 (05:08 +0000)
commitfa25bbb351f4fdd977f51254119cdfc2b525ce90
tree3dc2b468f4dea74285acbed68b61a8da94b9a848
parent447b69e55e1098d8df46dd99f171bfaace9ff8a0
Switch several more Sema Diag methods over.  This simplifies the
__builtin_prefetch code to only emit one diagnostic per builtin_prefetch.
While this has nothing to do with the rest of the patch, the code seemed
like overkill when I was updating it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59588 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Sema/Sema.cpp
lib/Sema/Sema.h
lib/Sema/SemaChecking.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaDeclObjC.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp
lib/Sema/SemaOverload.cpp
lib/Sema/SemaStmt.cpp
test/Sema/builtin-prefetch.c