llvm-6502/lib/TableGen
Sean Silva a170f520a9 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174582 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-07 04:30:39 +00:00
..
CMakeLists.txt
Error.cpp
LLVMBuild.txt
Main.cpp tblgen: Diagnose duplicate includes. 2013-02-07 04:30:39 +00:00
Makefile
Record.cpp
StringMatcher.cpp
TableGenBackend.cpp
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
TGParser.h tblgen: Diagnose duplicate includes. 2013-02-07 04:30:39 +00:00