]> granicus.if.org Git - llvm/commitdiff
IR: Rename the tablegen'd Attributes file to .gen
authorJustin Bogner <mail@justinbogner.com>
Thu, 29 Sep 2016 03:35:19 +0000 (03:35 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 29 Sep 2016 03:35:19 +0000 (03:35 +0000)
All of the other tablegen'd include files are named .gen, so it's best
to be consistent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282680 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Attributes.h
include/llvm/IR/CMakeLists.txt

index f4da90bc9021cdcbcef43101f5b0f0348b7e2fac..b2277d84a22bdb1a8e0a9842f48d60d768103e42 100644 (file)
@@ -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
   };
 
index eade87e05bc93aaf1d189124f236bbd65b7f8e1c..cf75d5800b74fb78fbcb0363a711da2c73e1f62f 100644 (file)
@@ -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)