solidity/libyul
alex e4b18e85e6 Replaced SourceLocation::isEmpty() with isValid() and hasText().
The function SourceLocation::isEmpty() had somewhat dual role.
Sometimes it indicates that the SourceLocation is invalid.
Sometimes it means that there is no corresponding source text.

Hence the proposal is to replace it with two functions, isValid() and hasText().

I also removed Scanner::sourceAt(). (Do we have a rule of thumb to remove unused code?)

Since hasText() checks that start and end are valid indices for source, I adjusted a couple of tests to avoid empty source strings.
2020-02-03 08:04:21 +01:00
..
backends Cause failing assertion for invalid u256 to bool conversion. 2020-01-29 19:01:28 +01:00
optimiser OptimiserSuite: Remove VarNameCleaner from the list of available steps 2020-01-30 17:35:27 +01:00
AsmAnalysis.cpp Parse default dialect and omit when printing. 2020-01-29 17:25:25 +01:00
AsmAnalysis.h Remove asm flavour. 2020-01-14 17:16:09 +01:00
AsmAnalysisInfo.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
AsmData.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
AsmDataForward.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
AsmJsonConverter.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
AsmJsonConverter.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
AsmParser.cpp Merge pull request #8068 from ethereum/evmTypedDialect 2020-01-30 14:53:25 +01:00
AsmParser.h Replaced SourceLocation::isEmpty() with isValid() and hasText(). 2020-02-03 08:04:21 +01:00
AsmPrinter.cpp Make bool type optional for bool literals. 2020-01-29 19:01:28 +01:00
AsmPrinter.h Make bool type optional for bool literals. 2020-01-29 19:01:28 +01:00
AsmScope.cpp Remove Scope::Label. 2020-01-16 19:13:25 +01:00
AsmScope.h Remove Scope::Label. 2020-01-16 19:13:25 +01:00
AsmScopeFiller.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
AsmScopeFiller.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
AssemblyStack.cpp Use old yul dialect only in tests. 2020-01-29 19:01:28 +01:00
AssemblyStack.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
CMakeLists.txt Remove asm flavour. 2020-01-14 17:16:09 +01:00
CompilabilityChecker.cpp Remove asm flavour. 2020-01-14 17:16:09 +01:00
CompilabilityChecker.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
Dialect.cpp Use old yul dialect only in tests. 2020-01-29 19:01:28 +01:00
Dialect.h Make bool type optional for bool literals. 2020-01-29 19:01:28 +01:00
Exceptions.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
Object.cpp Use old yul dialect only in tests. 2020-01-29 19:01:28 +01:00
Object.h Use old yul dialect only in tests. 2020-01-29 19:01:28 +01:00
ObjectParser.cpp C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
ObjectParser.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
SideEffects.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
Utilities.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
Utilities.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
YulString.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00