| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 288724
|
|
|
|
| |
llvm-svn: 238180
|
|
|
|
|
|
| |
the definition since it's already declared in a header file.
llvm-svn: 238178
|
|
|
|
| |
llvm-svn: 238177
|
|
|
|
| |
llvm-svn: 224005
|
|
|
|
|
|
|
|
|
|
| |
Take a StringRef instead of a "const char *".
Take a "std::error_code &" instead of a "std::string &" for error.
A create static method would be even better, but this patch is already a bit too
big.
llvm-svn: 216393
|
|
|
|
|
|
| |
std::unique_ptr
llvm-svn: 216223
|
|
|
|
| |
llvm-svn: 212405
|
|
|
|
| |
llvm-svn: 210871
|
|
|
|
|
|
| |
This should make sure that most new uses use the std prefix.
llvm-svn: 210835
|
|
|
|
|
|
|
| |
This is a minimal change to remove the header. I will remove the occurrences
of "using std::error_code" in a followup patch.
llvm-svn: 210803
|
|
|
|
|
|
| |
necessary.
llvm-svn: 207593
|
|
|
|
|
|
|
|
|
|
| |
This compiles with no changes to clang/lld/lldb with MSVC and includes
overloads to various functions which are used by those projects and llvm
which have OwningPtr's as parameters. This should allow out of tree
projects some time to move. There are also no changes to libs/Target,
which should help out of tree targets have time to move, if necessary.
llvm-svn: 203083
|
|
|
|
| |
llvm-svn: 202957
|
|
|
|
|
|
|
|
|
| |
After this I will set the default back to F_None. The advantage is that
before this patch forgetting to set F_Binary would corrupt a file on windows.
Forgetting to set F_Text produces one that cannot be read in notepad, which
is a better failure mode :-)
llvm-svn: 202052
|
|
|
|
|
|
| |
This will make it easier to switch the default to being binary files.
llvm-svn: 202042
|
|
|
|
| |
llvm-svn: 184826
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to report multiple errors in one invocation.
There are already calls to PrintError in CodeGenDAGPatterns.cpp which
previously would not cause TableGen to fail.
<rdar://problem/13463339>
llvm-svn: 177573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Most places can use PrintFatalError as the unwinding mechanism was not
used for anything other than printing the error. The single exception
was CodeGenDAGPatterns.cpp, where intermediate errors during type
resolution were ignored to simplify incremental platform development.
This use is replaced by an error flag in TreePattern and bailout earlier
in various places if it is set.
llvm-svn: 166712
|
|
|
|
| |
llvm-svn: 165544
|
|
|
|
|
|
| |
This keeps it out of the main flow of TableGenMain.
llvm-svn: 165542
|
|
|
|
| |
llvm-svn: 165168
|
|
|
|
|
|
|
|
| |
In order to avoid rev-lock with Clang when moving to the new API, also
preserve the current API temporarily and insert a shim to implement the
new API in terms of the old.
llvm-svn: 165165
|
|
|
|
| |
llvm-svn: 157788
|
|
|
|
| |
llvm-svn: 141492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a preprocessor that can expand nested for-loops for
saving some copy-n-paste in *.td files.
The preprocessor is not yet integrated with TGParser, and so it has
no direct effect on *.td inputs. However, you may preprocess an td
input (and only preprocess it).
To test the proprecessor, type:
tblgen -E -o $@ $<
llvm-svn: 141079
|
|
This is the first step towards splitting LLVM and Clang's tblgen executables.
llvm-svn: 140951
|