[llvm-commits] [llvm-gcc-4.2] r66548 - /llvm-gcc-4.2/trunk/gcc/config/darwin.c
Stuart Hastings
stuart at apple.com
Tue Mar 10 09:46:08 PDT 2009
Author: stuart
Date: Tue Mar 10 11:46:07 2009
New Revision: 66548
URL: http://llvm.org/viewvc/llvm-project?rev=66548&view=rev
Log:
Chris reminded me about LLVM LOCAL markers.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.c
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/darwin.c?rev=66548&r1=66547&r2=66548&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.c Tue Mar 10 11:46:07 2009
@@ -2074,8 +2074,10 @@
if (objc_method_decl (TREE_CODE (*node)))
return NULL_TREE;
/* APPLE LOCAL end radar 4733555 */
+ /* LLVM LOCAL 6652529 begin */
if ((TREE_CODE (*node) != FUNCTION_DECL && TREE_CODE (*node) != VAR_DECL)
|| !DECL_EXTERNAL (*node))
+ /* LLVM LOCAL 6652529 end */
{
warning (OPT_Wattributes, "%qs attribute ignored",
IDENTIFIER_POINTER (name));
More information about the llvm-commits
mailing list