| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
- Rename currentBuffer -> getCurrentMB to start it with verb.
- Simplify containsString.
- Add llvm_unreachable at end of getCurrentMB.
llvm-svn: 288310
|
| |
|
|
|
|
| |
This patch also renames currentLocation getCurrentLocation.
llvm-svn: 288308
|
| |
|
|
|
|
| |
Differential revision: https://reviews.llvm.org/D27108
llvm-svn: 288019
|
| |
|
|
|
|
| |
Differential revision: https://reviews.llvm.org/D26795
llvm-svn: 287547
|
| |
|
|
|
|
|
|
| |
skip() and skip(StringRef) were overloaded functions that
have different semantics. This patch rename one of the functions
to avoid function overloading.
llvm-svn: 284396
|
| |
|
|
|
|
|
|
|
| |
Most functions that return StringRef should check their return values,
so I'm planning on marking StringRef [[nodiscard]]. This requires
splitting up functions like next() that are sometimes just used for
side effects.
llvm-svn: 284363
|
| |
|
|
| |
llvm-svn: 277255
|
| |
|
|
| |
llvm-svn: 274109
|
| |
|
|
|
|
| |
No functionality change intended.
llvm-svn: 271686
|
| |
|
|
| |
llvm-svn: 269703
|
| |
|
|
|
|
|
|
| |
Previously, we have re-implemented utility functions such as `expect`
or `next` in LinkerScript.cpp. This patch reuses the existing
implementation that is in ScriptParser.cpp.
llvm-svn: 267255
|
| |
|
|
|
|
|
|
|
|
|
| |
ScriptParserBase class is a container of collection of various methods
to parse linker script-ish text. It had a virtual method `run` to run
the parser. But we don't have to enforce its descendents to implement
that. It's up to them.
This patch removes pure virtual function `run`.
llvm-svn: 267246
|
| |
|
|
| |
llvm-svn: 265603
|
|
|
This patch add a base script tokenizer class to decouple parsing from
linker script handling. The idea is to use this base class on dynamic
list parsing (--dynamic-list option). No functionality added.
llvm-svn: 265600
|