]> granicus.if.org Git - clang/commit
Fix for PR5679: make __builtin_prefetch a bit more flexible in what it accepts
authorEli Friedman <eli.friedman@gmail.com>
Fri, 4 Dec 2009 00:30:06 +0000 (00:30 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Fri, 4 Dec 2009 00:30:06 +0000 (00:30 +0000)
commit9aef7263d84d9224575e113878cfbb06b8343cbf
tree938804879de0f6f088ab1b24be6965fa5d3a6077
parentb48ad64a0e9e8d6488adebe597b6af32c1eb84f4
Fix for PR5679: make __builtin_prefetch a bit more flexible in what it accepts
as a constant integer.  Also, some minor cleanup and improvements to the
diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90504 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/Sema/builtin-prefetch.c
test/SemaCXX/prefetch-enum.cpp [new file with mode: 0644]