[llvm-commits] [dragonegg] r117210 - /dragonegg/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Sat Oct 23 05:13:33 PDT 2010
Author: baldrick
Date: Sat Oct 23 07:13:33 2010
New Revision: 117210
URL: http://llvm.org/viewvc/llvm-project?rev=117210&view=rev
Log:
Convert remaining uses of ATTRIBUTE_UNUSED to LLVM_ATTRIBUTE_UNUSED
(only has an effect when building for gcc-4.6).
Modified:
dragonegg/trunk/llvm-backend.cpp
Modified: dragonegg/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-backend.cpp?rev=117210&r1=117209&r2=117210&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Sat Oct 23 07:13:33 2010
@@ -1895,7 +1895,7 @@
/// emit_functions - Turn all functions in the compilation unit into LLVM IR.
static void emit_functions(cgraph_node_set set
#if (GCC_MINOR > 5)
- , varpool_node_set vset ATTRIBUTE_UNUSED
+ , varpool_node_set vset LLVM_ATTRIBUTE_UNUSED
#endif
) {
if (errorcount || sorrycount)
@@ -1970,7 +1970,7 @@
/// emit_variables - Output GCC global variables to the LLVM IR.
static void emit_variables(cgraph_node_set set
#if (GCC_MINOR > 5)
- , varpool_node_set vset ATTRIBUTE_UNUSED
+ , varpool_node_set vset LLVM_ATTRIBUTE_UNUSED
#endif
) {
(void)set; // Otherwise unused - avoid compiler warning.
More information about the llvm-commits
mailing list