From: Justin Bogner Date: Thu, 29 Sep 2016 03:35:19 +0000 (+0000) Subject: IR: Rename the tablegen'd Attributes file to .gen X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e255157a48134fe31e80b2b9ce8b28205ee2bc26;p=llvm 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282680 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index f4da90bc902..b2277d84a22 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -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 }; diff --git a/include/llvm/IR/CMakeLists.txt b/include/llvm/IR/CMakeLists.txt index eade87e05bc..cf75d5800b7 100644 --- a/include/llvm/IR/CMakeLists.txt +++ b/include/llvm/IR/CMakeLists.txt @@ -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)