[llvm] r282680 - IR: Rename the tablegen'd Attributes file to .gen

Justin Bogner via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 20:35:20 PDT 2016


Author: bogner
Date: Wed Sep 28 22:35:19 2016
New Revision: 282680

URL: http://llvm.org/viewvc/llvm-project?rev=282680&view=rev
Log:
IR: Rename the tablegen'd Attributes file to .gen

All of the other tablegen'd include files are named .gen, so it's best
to be consistent.

Modified:
    llvm/trunk/include/llvm/IR/Attributes.h
    llvm/trunk/include/llvm/IR/CMakeLists.txt

Modified: llvm/trunk/include/llvm/IR/Attributes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Attributes.h?rev=282680&r1=282679&r2=282680&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Attributes.h (original)
+++ llvm/trunk/include/llvm/IR/Attributes.h Wed Sep 28 22:35:19 2016
@@ -68,7 +68,7 @@ public:
     // IR-Level Attributes
     None,                  ///< No attributes have been set
     #define GET_ATTR_ENUM
-    #include "llvm/IR/Attributes.inc"
+    #include "llvm/IR/Attributes.gen"
     EndAttrKinds           ///< Sentinal value useful for loops
   };
 

Modified: llvm/trunk/include/llvm/IR/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/CMakeLists.txt?rev=282680&r1=282679&r2=282680&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/CMakeLists.txt (original)
+++ llvm/trunk/include/llvm/IR/CMakeLists.txt Wed Sep 28 22:35:19 2016
@@ -1,5 +1,5 @@
 set(LLVM_TARGET_DEFINITIONS Attributes.td)
-tablegen(LLVM Attributes.inc -gen-attrs)
+tablegen(LLVM Attributes.gen -gen-attrs)
 
 set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
 tablegen(LLVM Intrinsics.gen -gen-intrinsic)




More information about the llvm-commits mailing list