solidity/libevmasm
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
..
Assembly.cpp Replaced SourceLocation::isEmpty() with isValid() and hasText(). 2020-02-03 08:04:21 +01:00
Assembly.h Remove LLL specific features from libevmasm 2020-01-15 13:27:51 +00:00
AssemblyItem.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
AssemblyItem.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
BlockDeduplicator.cpp C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
BlockDeduplicator.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
CMakeLists.txt CMake: Renaming devcore static library to solutil (to match source code paths) 2020-01-13 15:52:46 +01:00
CommonSubexpressionEliminator.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
CommonSubexpressionEliminator.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
ConstantOptimiser.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
ConstantOptimiser.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
ControlFlowGraph.cpp C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
ControlFlowGraph.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
Exceptions.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
ExpressionClasses.cpp C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
ExpressionClasses.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
GasMeter.cpp Use multiprecision::msb() in GasMeter and remove FixedHash dependency 2020-01-17 14:24:55 +01:00
GasMeter.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
Instruction.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
Instruction.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
JumpdestRemover.cpp C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
JumpdestRemover.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
KnownState.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
KnownState.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
LinkerObject.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
LinkerObject.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
PathGasMeter.cpp C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
PathGasMeter.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
PeepholeOptimiser.cpp C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
PeepholeOptimiser.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
RuleList.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
SemanticInformation.cpp C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
SemanticInformation.h C++ namespace cleanup (except tests). 2020-01-07 15:51:50 +01:00
SimplificationRule.h Enable more compiler warnings in the build system 2020-01-15 14:33:27 +00:00
SimplificationRules.cpp Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00
SimplificationRules.h Library libdevcore renamed to libsolutil. 2020-01-07 15:51:50 +01:00