llvm-project/llvm/lib/TableGen
Sean Silva 3b96424c43 tblgen: Diagnose duplicate includes.
A double inclusion will pretty much always be an error in TableGen, so
there's no point going on just to die with "def already defined" or
whatnot.

I'm not too thrilled about the "public: ... private: ..." to expose the
DependenciesMapTy, but I really didn't see a better way to keep that
type centralized. It's a smell that indicates that some refactoring is
needed to make this code more loosely coupled.

This should avoid all bugs of the same nature as PR15189.

llvm-svn: 174582
2013-02-07 04:30:39 +00:00
..
CMakeLists.txt Remove exception handling usage from tblgen. 2012-10-25 20:33:17 +00:00
Error.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Main.cpp tblgen: Diagnose duplicate includes. 2013-02-07 04:30:39 +00:00
Makefile Remove exception handling usage from tblgen. 2012-10-25 20:33:17 +00:00
Record.cpp Add an addition operator to TableGen 2013-01-25 14:49:08 +00:00
StringMatcher.cpp Emit memcmp directly from the StringMatcherEmitter. 2012-05-20 18:10:42 +00:00
TGLexer.cpp tblgen: Diagnose duplicate includes. 2013-02-07 04:30:39 +00:00
TGLexer.h tblgen: Diagnose duplicate includes. 2013-02-07 04:30:39 +00:00
TGParser.cpp Add an addition operator to TableGen 2013-01-25 14:49:08 +00:00
TGParser.h tblgen: Diagnose duplicate includes. 2013-02-07 04:30:39 +00:00
TableGenBackend.cpp A bugfix for tblgen, in the function ‘emitSourceFileHeader’. 2013-01-28 07:35:33 +00:00