llvm-project/llvm/lib/TableGen
River Riddle ee9b49eef0 Tablegen: Remove the error for duplicate include files.
This error was originally added a while(7 years) ago when
including multiple files was basically always an error. Tablegen
now has preprocessor support, which allows for building nice
c/c++ style include guards. With the current error being
reported, we unfortunately need to double guard when including
files:

* In user of MyFile.td

 #ifndef MYFILE_TD
 include MyFile.td
 #endif

* In MyFile.td

 #ifndef MYFILE_TD
 #define MYFILE_TD
 ...
 #endif

Differential Revision: https://reviews.llvm.org/D70410
2019-11-20 18:24:10 -08:00
..
CMakeLists.txt [TableGen] Add a general-purpose JSON backend. 2018-07-11 08:40:19 +00:00
Error.cpp [gicombiner] Hoist pure C++ combine into the tablegen definition 2019-10-16 23:53:35 +00:00
JSONBackend.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Main.cpp Tablegen: Remove the error for duplicate include files. 2019-11-20 18:24:10 -08:00
Record.cpp Add Record::getValueAsOptionalDef(). 2019-10-25 16:39:21 -07:00
SetTheory.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
StringMatcher.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
TGLexer.cpp Tablegen: Remove the error for duplicate include files. 2019-11-20 18:24:10 -08:00
TGLexer.h Tablegen: Remove the error for duplicate include files. 2019-11-20 18:24:10 -08:00
TGParser.cpp TGParser::ParseOperation - silence static analyzer dyn_cast<TypedInit> null dereference warning. NFCI. 2019-09-26 17:11:02 +00:00
TGParser.h Tablegen: Remove the error for duplicate include files. 2019-11-20 18:24:10 -08:00
TableGenBackend.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00