aboutsummaryrefslogtreecommitdiffstats
path: root/liblangutil
Commit message (Collapse)AuthorAgeFilesLines
* Replace push_back with emplace_back where it makes senseMathias Baumann2018-12-111-1/+1
|
* liblangutil: refactor SourceReferenceFormatter, splitting out retrieval and ↵Christian Parpart2018-12-065-85/+208
| | | | making use of new SourceLocation's CharStream knowledge
* liblangutil: SourceLocation: Retricts == and != operatorChristian Parpart2018-12-011-5/+3
|
* liblangutil: small refactors wrt. API cleanupsChristian Parpart2018-12-013-16/+2
| | | | Especially also remove SourceLocation ctor's that the compiler can default-implement.
* liblangutil: Scanner: remove superfluous sourceName field (it's in ↵Christian Parpart2018-12-014-14/+4
| | | | | | | CharStream already) Also, ParserBase::sourceName() was dead code. Eliminating it should increase test coverage (how sneaky) :-)
* liblangutil: SourceLocation: adds (shared) pointer to underlying CharStream ↵Christian Parpart2018-12-016-55/+71
| | | | | | source, eliminating sourceName Also, adapted affecting code to those changes.
* liblangutil: extends CharStream to know about the respective (file-)name ↵Christian Parpart2018-11-291-1/+4
| | | | (and adapt codebase to it)
* liblangutil: adds Scanner.charStream() accessorChristian Parpart2018-11-291-0/+2
|
* liblangutil: adds ParserBase::charStream() accessorChristian Parpart2018-11-291-0/+2
|
* Fix merge problem in CMake files.chriseth2018-11-261-0/+1
|
* Merge pull request #5493 from ethereum/cmake-no-globbingchriseth2018-11-261-3/+9
|\ | | | | [WIP] CMake: Explicitly state which files to compile instead of relying on globbing
| * CMake: Explicitly state which files to compile instead of relying on globbing.Christian Parpart2018-11-261-3/+9
| | | | | | | | | | Also remove header file lists, as there is no need to add them to add_library() or add_executable(), which should lower maintenance of the cmake files.
* | Merge pull request #5494 from ethereum/scanner-error-handlingchriseth2018-11-263-19/+80
|\ \ | | | | | | Improved Scanner error diagnostics.
| * | Change scanner error diagnostics to be non-intrusive to the token API.Christian Parpart2018-11-243-36/+81
| | | | | | | | | | | | | | | This also implicitly eliminates the magic-token Token::IllegalHex, and streamlines error diagnostics over a custom enum class.
| * | adapt to latest code changesLazaridis2018-11-242-13/+29
| |/
* / Moving SourceReferenceFormatter into langutil namespace.Christian Parpart2018-11-242-0/+205
|/
* Replace all occurrences of NULL with nullptr.Christian Parpart2018-11-231-8/+8
|
* Introduce namespace `langutil` in liblangutil directory.Christian Parpart2018-11-2213-73/+44
| | | | | | | Also: - Use {}-style list initialisation for SourceLocation construction - Introduce new system includes - Changes the API of the Scanner to take source as value (with move) as opposed to as a reference
* Ensure liblangutil is compiled and linked as its own static library.Christian Parpart2018-11-221-0/+6
|
* Splitting out CharStream from Scanner.Christian Parpart2018-11-224-81/+216
|
* Isolating files shared between Yul- and Solidity language frontend.Christian Parpart2018-11-2213-0/+2757