diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp
index 8588832fe..70fc4565d 100644
--- a/libevmasm/Assembly.cpp
+++ b/libevmasm/Assembly.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file Assembly.cpp
* @author Gav Wood
* @date 2014
diff --git a/libevmasm/Assembly.h b/libevmasm/Assembly.h
index e82fee7dd..dbd5e130e 100644
--- a/libevmasm/Assembly.h
+++ b/libevmasm/Assembly.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libevmasm/AssemblyItem.cpp b/libevmasm/AssemblyItem.cpp
index b78c0e60c..80d34f57c 100644
--- a/libevmasm/AssemblyItem.cpp
+++ b/libevmasm/AssemblyItem.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libevmasm/AssemblyItem.h b/libevmasm/AssemblyItem.h
index 4b0b7ca72..dd65b109f 100644
--- a/libevmasm/AssemblyItem.h
+++ b/libevmasm/AssemblyItem.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file AssemblyItem.h
* @author Gav Wood
* @date 2014
diff --git a/libevmasm/BlockDeduplicator.cpp b/libevmasm/BlockDeduplicator.cpp
index 95aba2a01..5f9fa768f 100644
--- a/libevmasm/BlockDeduplicator.cpp
+++ b/libevmasm/BlockDeduplicator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file BlockDeduplicator.cpp
* @author Christian
diff --git a/libevmasm/BlockDeduplicator.h b/libevmasm/BlockDeduplicator.h
index ce12b4bfb..ef131ae52 100644
--- a/libevmasm/BlockDeduplicator.h
+++ b/libevmasm/BlockDeduplicator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file BlockDeduplicator.h
* @author Christian
diff --git a/libevmasm/CommonSubexpressionEliminator.cpp b/libevmasm/CommonSubexpressionEliminator.cpp
index 7fa5c938b..9d07e47ca 100644
--- a/libevmasm/CommonSubexpressionEliminator.cpp
+++ b/libevmasm/CommonSubexpressionEliminator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file CommonSubexpressionEliminator.cpp
* @author Christian
diff --git a/libevmasm/CommonSubexpressionEliminator.h b/libevmasm/CommonSubexpressionEliminator.h
index ce9c898ee..88e559719 100644
--- a/libevmasm/CommonSubexpressionEliminator.h
+++ b/libevmasm/CommonSubexpressionEliminator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file CommonSubexpressionEliminator.h
* @author Christian
diff --git a/libevmasm/ConstantOptimiser.cpp b/libevmasm/ConstantOptimiser.cpp
index 018be38ea..87ef57089 100644
--- a/libevmasm/ConstantOptimiser.cpp
+++ b/libevmasm/ConstantOptimiser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file ConstantOptimiser.cpp
* @author Christian
* @date 2015
diff --git a/libevmasm/ConstantOptimiser.h b/libevmasm/ConstantOptimiser.h
index a9db47ab1..aad0fd169 100644
--- a/libevmasm/ConstantOptimiser.h
+++ b/libevmasm/ConstantOptimiser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file ConstantOptimiser.cpp
* @author Christian
* @date 2015
diff --git a/libevmasm/ControlFlowGraph.cpp b/libevmasm/ControlFlowGraph.cpp
index 4c9d59c8b..8431fb51c 100644
--- a/libevmasm/ControlFlowGraph.cpp
+++ b/libevmasm/ControlFlowGraph.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file ControlFlowGraph.cpp
* @author Christian
diff --git a/libevmasm/ControlFlowGraph.h b/libevmasm/ControlFlowGraph.h
index 5fceb6388..d27702c2a 100644
--- a/libevmasm/ControlFlowGraph.h
+++ b/libevmasm/ControlFlowGraph.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file ControlFlowGraph.h
* @author Christian
diff --git a/libevmasm/Exceptions.h b/libevmasm/Exceptions.h
index e4fadb53c..027577576 100644
--- a/libevmasm/Exceptions.h
+++ b/libevmasm/Exceptions.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file Exceptions.h
* @author Christian
* @date 2014
diff --git a/libevmasm/ExpressionClasses.cpp b/libevmasm/ExpressionClasses.cpp
index a208fabe7..55a3a04c7 100644
--- a/libevmasm/ExpressionClasses.cpp
+++ b/libevmasm/ExpressionClasses.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file ExpressionClasses.cpp
* @author Christian
diff --git a/libevmasm/ExpressionClasses.h b/libevmasm/ExpressionClasses.h
index f9eebabd0..bfab317dc 100644
--- a/libevmasm/ExpressionClasses.h
+++ b/libevmasm/ExpressionClasses.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file ExpressionClasses.h
* @author Christian
diff --git a/libevmasm/GasMeter.cpp b/libevmasm/GasMeter.cpp
index 6a07e9905..eb259ba62 100644
--- a/libevmasm/GasMeter.cpp
+++ b/libevmasm/GasMeter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libevmasm/GasMeter.h b/libevmasm/GasMeter.h
index a6c0f29d9..ddba491aa 100644
--- a/libevmasm/GasMeter.h
+++ b/libevmasm/GasMeter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file GasMeter.cpp
* @author Christian
* @date 2015
diff --git a/libevmasm/Instruction.cpp b/libevmasm/Instruction.cpp
index 0a61fbea0..55af2340a 100644
--- a/libevmasm/Instruction.cpp
+++ b/libevmasm/Instruction.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file Instruction.cpp
* @author Gav Wood
* @date 2014
diff --git a/libevmasm/Instruction.h b/libevmasm/Instruction.h
index 67a77f0c9..5c8eeb3ee 100644
--- a/libevmasm/Instruction.h
+++ b/libevmasm/Instruction.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file Instruction.h
* @author Gav Wood
* @date 2014
diff --git a/libevmasm/JumpdestRemover.cpp b/libevmasm/JumpdestRemover.cpp
index cbb498c01..c4901700f 100644
--- a/libevmasm/JumpdestRemover.cpp
+++ b/libevmasm/JumpdestRemover.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Alex Beregszaszi
* Removes unused JUMPDESTs.
diff --git a/libevmasm/JumpdestRemover.h b/libevmasm/JumpdestRemover.h
index 80b546d79..e07550e2d 100644
--- a/libevmasm/JumpdestRemover.h
+++ b/libevmasm/JumpdestRemover.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Alex Beregszaszi
* Removes unused JUMPDESTs.
diff --git a/libevmasm/KnownState.cpp b/libevmasm/KnownState.cpp
index 10e4a4f10..ec6c50702 100644
--- a/libevmasm/KnownState.cpp
+++ b/libevmasm/KnownState.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file KnownState.cpp
* @author Christian
diff --git a/libevmasm/KnownState.h b/libevmasm/KnownState.h
index b19585036..458a48b3e 100644
--- a/libevmasm/KnownState.h
+++ b/libevmasm/KnownState.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file KnownState.h
* @author Christian
diff --git a/libevmasm/LinkerObject.cpp b/libevmasm/LinkerObject.cpp
index b7ffaac66..fdb9a460f 100644
--- a/libevmasm/LinkerObject.cpp
+++ b/libevmasm/LinkerObject.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file LinkerObject.cpp
* @author Christian R
* @date 2015
diff --git a/libevmasm/LinkerObject.h b/libevmasm/LinkerObject.h
index ab0e26507..03d01cc2c 100644
--- a/libevmasm/LinkerObject.h
+++ b/libevmasm/LinkerObject.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file Assembly.h
* @author Gav Wood
* @date 2014
diff --git a/libevmasm/PathGasMeter.cpp b/libevmasm/PathGasMeter.cpp
index 749cc7bb1..b7c985f1b 100644
--- a/libevmasm/PathGasMeter.cpp
+++ b/libevmasm/PathGasMeter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file PathGasMeter.cpp
* @author Christian
* @date 2015
diff --git a/libevmasm/PathGasMeter.h b/libevmasm/PathGasMeter.h
index 38a197973..ecac17cac 100644
--- a/libevmasm/PathGasMeter.h
+++ b/libevmasm/PathGasMeter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file PathGasMeter.cpp
* @author Christian
* @date 2015
diff --git a/libevmasm/PeepholeOptimiser.cpp b/libevmasm/PeepholeOptimiser.cpp
index 2b68198f8..6df80dac8 100644
--- a/libevmasm/PeepholeOptimiser.cpp
+++ b/libevmasm/PeepholeOptimiser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file PeepholeOptimiser.cpp
* Performs local optimising code changes to assembly.
diff --git a/libevmasm/PeepholeOptimiser.h b/libevmasm/PeepholeOptimiser.h
index a260d3148..64ad5227f 100644
--- a/libevmasm/PeepholeOptimiser.h
+++ b/libevmasm/PeepholeOptimiser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file PeepholeOptimiser.h
* Performs local optimising code changes to assembly.
diff --git a/libevmasm/RuleList.h b/libevmasm/RuleList.h
index 9442524b1..93ccdcaf9 100644
--- a/libevmasm/RuleList.h
+++ b/libevmasm/RuleList.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2018
* Templatized list of simplification rules.
diff --git a/libevmasm/SemanticInformation.cpp b/libevmasm/SemanticInformation.cpp
index 76eeb5956..3d4ead64f 100644
--- a/libevmasm/SemanticInformation.cpp
+++ b/libevmasm/SemanticInformation.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file SemanticInformation.cpp
* @author Christian
diff --git a/libevmasm/SemanticInformation.h b/libevmasm/SemanticInformation.h
index 39a1b2439..f919b4207 100644
--- a/libevmasm/SemanticInformation.h
+++ b/libevmasm/SemanticInformation.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file SemanticInformation.h
* @author Christian
diff --git a/libevmasm/SimplificationRule.h b/libevmasm/SimplificationRule.h
index 1fa1d8ea8..6ce9a9e7c 100644
--- a/libevmasm/SimplificationRule.h
+++ b/libevmasm/SimplificationRule.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Expression simplification pattern.
*/
diff --git a/libevmasm/SimplificationRules.cpp b/libevmasm/SimplificationRules.cpp
index c4cc59863..d2f30c22e 100644
--- a/libevmasm/SimplificationRules.cpp
+++ b/libevmasm/SimplificationRules.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file ExpressionClasses.cpp
* @author Christian
diff --git a/libevmasm/SimplificationRules.h b/libevmasm/SimplificationRules.h
index 72884d32a..f548f501d 100644
--- a/libevmasm/SimplificationRules.h
+++ b/libevmasm/SimplificationRules.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file SimplificationRules
* @author Christian
diff --git a/liblangutil/EVMVersion.cpp b/liblangutil/EVMVersion.cpp
index fa100c091..c953eda0f 100644
--- a/liblangutil/EVMVersion.cpp
+++ b/liblangutil/EVMVersion.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* EVM versioning.
*/
diff --git a/liblangutil/EVMVersion.h b/liblangutil/EVMVersion.h
index 2c9e87ef3..b34426c92 100644
--- a/liblangutil/EVMVersion.h
+++ b/liblangutil/EVMVersion.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* EVM versioning.
*/
diff --git a/liblangutil/ErrorReporter.cpp b/liblangutil/ErrorReporter.cpp
index a8dccd557..29a20a8d8 100644
--- a/liblangutil/ErrorReporter.cpp
+++ b/liblangutil/ErrorReporter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Rhett
* @date 2017
diff --git a/liblangutil/ErrorReporter.h b/liblangutil/ErrorReporter.h
index 3dc8c59c7..e533d7f6c 100644
--- a/liblangutil/ErrorReporter.h
+++ b/liblangutil/ErrorReporter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Rhett
* @date 2017
diff --git a/liblangutil/Exceptions.cpp b/liblangutil/Exceptions.cpp
index fa65031cd..2e9d22b41 100644
--- a/liblangutil/Exceptions.cpp
+++ b/liblangutil/Exceptions.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Liana
* @date 2015
diff --git a/liblangutil/Exceptions.h b/liblangutil/Exceptions.h
index 0dd756848..69745a2fc 100644
--- a/liblangutil/Exceptions.h
+++ b/liblangutil/Exceptions.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/liblangutil/ParserBase.cpp b/liblangutil/ParserBase.cpp
index c2162044a..19c4d187c 100644
--- a/liblangutil/ParserBase.cpp
+++ b/liblangutil/ParserBase.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/liblangutil/ParserBase.h b/liblangutil/ParserBase.h
index 0f6146005..475b08456 100644
--- a/liblangutil/ParserBase.h
+++ b/liblangutil/ParserBase.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/liblangutil/SemVerHandler.cpp b/liblangutil/SemVerHandler.cpp
index d997cb073..ee5490f55 100644
--- a/liblangutil/SemVerHandler.cpp
+++ b/liblangutil/SemVerHandler.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/liblangutil/SemVerHandler.h b/liblangutil/SemVerHandler.h
index d3dfd5a5b..0a291224e 100644
--- a/liblangutil/SemVerHandler.h
+++ b/liblangutil/SemVerHandler.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/liblangutil/SourceLocation.cpp b/liblangutil/SourceLocation.cpp
index 8c531c625..160a3616b 100644
--- a/liblangutil/SourceLocation.cpp
+++ b/liblangutil/SourceLocation.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/liblangutil/SourceLocation.h b/liblangutil/SourceLocation.h
index 283c8a524..4b7122de3 100644
--- a/liblangutil/SourceLocation.h
+++ b/liblangutil/SourceLocation.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Lefteris Karapetsas
* @date 2015
diff --git a/liblangutil/SourceReferenceExtractor.cpp b/liblangutil/SourceReferenceExtractor.cpp
index 89f84011d..2faefc9b0 100644
--- a/liblangutil/SourceReferenceExtractor.cpp
+++ b/liblangutil/SourceReferenceExtractor.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/liblangutil/SourceReferenceExtractor.h b/liblangutil/SourceReferenceExtractor.h
index b9dababb9..7eb54845c 100644
--- a/liblangutil/SourceReferenceExtractor.h
+++ b/liblangutil/SourceReferenceExtractor.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/liblangutil/SourceReferenceFormatter.cpp b/liblangutil/SourceReferenceFormatter.cpp
index e10f251d5..d7a0a2169 100644
--- a/liblangutil/SourceReferenceFormatter.cpp
+++ b/liblangutil/SourceReferenceFormatter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/liblangutil/SourceReferenceFormatter.h b/liblangutil/SourceReferenceFormatter.h
index 439fe177c..636ddfcb0 100644
--- a/liblangutil/SourceReferenceFormatter.h
+++ b/liblangutil/SourceReferenceFormatter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/liblangutil/SourceReferenceFormatterHuman.cpp b/liblangutil/SourceReferenceFormatterHuman.cpp
index 998ca7bf5..96bef2ed7 100644
--- a/liblangutil/SourceReferenceFormatterHuman.cpp
+++ b/liblangutil/SourceReferenceFormatterHuman.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Formatting functions for errors referencing positions and locations in the source.
*/
diff --git a/liblangutil/SourceReferenceFormatterHuman.h b/liblangutil/SourceReferenceFormatterHuman.h
index b468f3756..21816ce67 100644
--- a/liblangutil/SourceReferenceFormatterHuman.h
+++ b/liblangutil/SourceReferenceFormatterHuman.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Formatting functions for errors referencing positions and locations in the source.
*/
diff --git a/liblangutil/UndefMacros.h b/liblangutil/UndefMacros.h
index d96e242ec..e3dde6d31 100644
--- a/liblangutil/UndefMacros.h
+++ b/liblangutil/UndefMacros.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file UndefMacros.h
* @author Lefteris
* @date 2015
diff --git a/libsmtutil/CHCSmtLib2Interface.cpp b/libsmtutil/CHCSmtLib2Interface.cpp
index 8116ea2a2..c6c5a4cac 100644
--- a/libsmtutil/CHCSmtLib2Interface.cpp
+++ b/libsmtutil/CHCSmtLib2Interface.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsmtutil/CHCSmtLib2Interface.h b/libsmtutil/CHCSmtLib2Interface.h
index 8ec3f8dd2..5a74bacbe 100644
--- a/libsmtutil/CHCSmtLib2Interface.h
+++ b/libsmtutil/CHCSmtLib2Interface.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Interface for solving Horn systems via smtlib2.
diff --git a/libsmtutil/CHCSolverInterface.h b/libsmtutil/CHCSolverInterface.h
index f2d14cbcf..bf8b6a4cc 100644
--- a/libsmtutil/CHCSolverInterface.h
+++ b/libsmtutil/CHCSolverInterface.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Interface for constrained Horn solvers.
diff --git a/libsmtutil/CVC4Interface.cpp b/libsmtutil/CVC4Interface.cpp
index f58e46801..2a795d827 100644
--- a/libsmtutil/CVC4Interface.cpp
+++ b/libsmtutil/CVC4Interface.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsmtutil/CVC4Interface.h b/libsmtutil/CVC4Interface.h
index 990590351..16f9f1f81 100644
--- a/libsmtutil/CVC4Interface.h
+++ b/libsmtutil/CVC4Interface.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsmtutil/Exceptions.h b/libsmtutil/Exceptions.h
index 6321c4f6a..29011dab9 100644
--- a/libsmtutil/Exceptions.h
+++ b/libsmtutil/Exceptions.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsmtutil/SMTLib2Interface.cpp b/libsmtutil/SMTLib2Interface.cpp
index 1f87b9b72..f1d21c2cc 100644
--- a/libsmtutil/SMTLib2Interface.cpp
+++ b/libsmtutil/SMTLib2Interface.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsmtutil/SMTLib2Interface.h b/libsmtutil/SMTLib2Interface.h
index dfb32a959..2a43c0441 100644
--- a/libsmtutil/SMTLib2Interface.h
+++ b/libsmtutil/SMTLib2Interface.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsmtutil/SMTPortfolio.cpp b/libsmtutil/SMTPortfolio.cpp
index 80c1a4750..334d91dd7 100644
--- a/libsmtutil/SMTPortfolio.cpp
+++ b/libsmtutil/SMTPortfolio.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsmtutil/SMTPortfolio.h b/libsmtutil/SMTPortfolio.h
index 0399ac033..3e933df5d 100644
--- a/libsmtutil/SMTPortfolio.h
+++ b/libsmtutil/SMTPortfolio.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsmtutil/SolverInterface.h b/libsmtutil/SolverInterface.h
index a62a39b37..d4c4d7fef 100644
--- a/libsmtutil/SolverInterface.h
+++ b/libsmtutil/SolverInterface.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsmtutil/Sorts.cpp b/libsmtutil/Sorts.cpp
index 7624cbb5b..303e8bb84 100644
--- a/libsmtutil/Sorts.cpp
+++ b/libsmtutil/Sorts.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsmtutil/Sorts.h b/libsmtutil/Sorts.h
index 20cbf2be5..de94e8fff 100644
--- a/libsmtutil/Sorts.h
+++ b/libsmtutil/Sorts.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsmtutil/Z3CHCInterface.cpp b/libsmtutil/Z3CHCInterface.cpp
index d2bce2f1c..262e72e1a 100644
--- a/libsmtutil/Z3CHCInterface.cpp
+++ b/libsmtutil/Z3CHCInterface.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsmtutil/Z3CHCInterface.h b/libsmtutil/Z3CHCInterface.h
index f36ee2caa..7fe9e6653 100644
--- a/libsmtutil/Z3CHCInterface.h
+++ b/libsmtutil/Z3CHCInterface.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Z3 specific Horn solver interface.
diff --git a/libsmtutil/Z3Interface.cpp b/libsmtutil/Z3Interface.cpp
index c2309ad4f..501446553 100644
--- a/libsmtutil/Z3Interface.cpp
+++ b/libsmtutil/Z3Interface.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsmtutil/Z3Interface.h b/libsmtutil/Z3Interface.h
index d1fdce0f8..22f793337 100644
--- a/libsmtutil/Z3Interface.h
+++ b/libsmtutil/Z3Interface.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolc/libsolc.cpp b/libsolc/libsolc.cpp
index d216ae8a2..f87f075d6 100644
--- a/libsolc/libsolc.cpp
+++ b/libsolc/libsolc.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolc/libsolc.h b/libsolc/libsolc.h
index 655c9e7b5..c5b3b3db7 100644
--- a/libsolc/libsolc.h
+++ b/libsolc/libsolc.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/analysis/ConstantEvaluator.cpp b/libsolidity/analysis/ConstantEvaluator.cpp
index 4bd8b1389..d00affb91 100644
--- a/libsolidity/analysis/ConstantEvaluator.cpp
+++ b/libsolidity/analysis/ConstantEvaluator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/analysis/ConstantEvaluator.h b/libsolidity/analysis/ConstantEvaluator.h
index f07e6783d..521f46338 100644
--- a/libsolidity/analysis/ConstantEvaluator.h
+++ b/libsolidity/analysis/ConstantEvaluator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/analysis/ContractLevelChecker.cpp b/libsolidity/analysis/ContractLevelChecker.cpp
index fc391f196..8d40ace0e 100644
--- a/libsolidity/analysis/ContractLevelChecker.cpp
+++ b/libsolidity/analysis/ContractLevelChecker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that verifies overloads, abstract contracts, function clashes and others
* checks at contract or function level.
diff --git a/libsolidity/analysis/ContractLevelChecker.h b/libsolidity/analysis/ContractLevelChecker.h
index 3a0d7d740..2af0963d7 100644
--- a/libsolidity/analysis/ContractLevelChecker.h
+++ b/libsolidity/analysis/ContractLevelChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that verifies overloads, abstract contracts, function clashes and others
* checks at contract or function level.
diff --git a/libsolidity/analysis/ControlFlowAnalyzer.cpp b/libsolidity/analysis/ControlFlowAnalyzer.cpp
index 4937ee1d4..1ed66f72b 100644
--- a/libsolidity/analysis/ControlFlowAnalyzer.cpp
+++ b/libsolidity/analysis/ControlFlowAnalyzer.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/analysis/ControlFlowAnalyzer.h b/libsolidity/analysis/ControlFlowAnalyzer.h
index a839c5679..c731cc31f 100644
--- a/libsolidity/analysis/ControlFlowAnalyzer.h
+++ b/libsolidity/analysis/ControlFlowAnalyzer.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/analysis/ControlFlowBuilder.cpp b/libsolidity/analysis/ControlFlowBuilder.cpp
index a0c557a3e..4eb4658e1 100644
--- a/libsolidity/analysis/ControlFlowBuilder.cpp
+++ b/libsolidity/analysis/ControlFlowBuilder.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libsolidity/analysis/ControlFlowBuilder.h b/libsolidity/analysis/ControlFlowBuilder.h
index 2d0910d6a..0efd55d77 100644
--- a/libsolidity/analysis/ControlFlowBuilder.h
+++ b/libsolidity/analysis/ControlFlowBuilder.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/analysis/ControlFlowGraph.cpp b/libsolidity/analysis/ControlFlowGraph.cpp
index fb5fc1be0..f7344e7fc 100644
--- a/libsolidity/analysis/ControlFlowGraph.cpp
+++ b/libsolidity/analysis/ControlFlowGraph.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/analysis/ControlFlowGraph.h b/libsolidity/analysis/ControlFlowGraph.h
index 4d11ef8f6..7d51f2196 100644
--- a/libsolidity/analysis/ControlFlowGraph.h
+++ b/libsolidity/analysis/ControlFlowGraph.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/analysis/DeclarationContainer.cpp b/libsolidity/analysis/DeclarationContainer.cpp
index 2450778cd..b514c2c39 100644
--- a/libsolidity/analysis/DeclarationContainer.cpp
+++ b/libsolidity/analysis/DeclarationContainer.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/analysis/DeclarationContainer.h b/libsolidity/analysis/DeclarationContainer.h
index 4b4df9339..8036a5a58 100644
--- a/libsolidity/analysis/DeclarationContainer.h
+++ b/libsolidity/analysis/DeclarationContainer.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/analysis/DeclarationTypeChecker.cpp b/libsolidity/analysis/DeclarationTypeChecker.cpp
index 07e8f6066..0027b3045 100644
--- a/libsolidity/analysis/DeclarationTypeChecker.cpp
+++ b/libsolidity/analysis/DeclarationTypeChecker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/analysis/DeclarationTypeChecker.h b/libsolidity/analysis/DeclarationTypeChecker.h
index 0edd97bd9..6ba9d1aad 100644
--- a/libsolidity/analysis/DeclarationTypeChecker.h
+++ b/libsolidity/analysis/DeclarationTypeChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/analysis/DocStringAnalyser.cpp b/libsolidity/analysis/DocStringAnalyser.cpp
index 92989ddac..96fde8550 100644
--- a/libsolidity/analysis/DocStringAnalyser.cpp
+++ b/libsolidity/analysis/DocStringAnalyser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/analysis/DocStringAnalyser.h b/libsolidity/analysis/DocStringAnalyser.h
index 9bc8ec578..ee79cd9f7 100644
--- a/libsolidity/analysis/DocStringAnalyser.h
+++ b/libsolidity/analysis/DocStringAnalyser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/analysis/GlobalContext.cpp b/libsolidity/analysis/GlobalContext.cpp
index 53020afce..885ae49a7 100644
--- a/libsolidity/analysis/GlobalContext.cpp
+++ b/libsolidity/analysis/GlobalContext.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @author Gav Wood
diff --git a/libsolidity/analysis/GlobalContext.h b/libsolidity/analysis/GlobalContext.h
index 81ffa2109..b84e3a026 100644
--- a/libsolidity/analysis/GlobalContext.h
+++ b/libsolidity/analysis/GlobalContext.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/analysis/ImmutableValidator.cpp b/libsolidity/analysis/ImmutableValidator.cpp
index e4fcfadcf..5af640e58 100644
--- a/libsolidity/analysis/ImmutableValidator.cpp
+++ b/libsolidity/analysis/ImmutableValidator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/analysis/ImmutableValidator.h b/libsolidity/analysis/ImmutableValidator.h
index 5845ba011..ffa45e74c 100644
--- a/libsolidity/analysis/ImmutableValidator.h
+++ b/libsolidity/analysis/ImmutableValidator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/analysis/NameAndTypeResolver.cpp b/libsolidity/analysis/NameAndTypeResolver.cpp
index 9fbd219f9..c7be364a3 100644
--- a/libsolidity/analysis/NameAndTypeResolver.cpp
+++ b/libsolidity/analysis/NameAndTypeResolver.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/analysis/NameAndTypeResolver.h b/libsolidity/analysis/NameAndTypeResolver.h
index efb404038..d72822653 100644
--- a/libsolidity/analysis/NameAndTypeResolver.h
+++ b/libsolidity/analysis/NameAndTypeResolver.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/analysis/OverrideChecker.cpp b/libsolidity/analysis/OverrideChecker.cpp
index 6a2ccc83a..42a6230a2 100644
--- a/libsolidity/analysis/OverrideChecker.cpp
+++ b/libsolidity/analysis/OverrideChecker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that verifies overloads, abstract contracts, function clashes and others
* checks at contract or function level.
diff --git a/libsolidity/analysis/OverrideChecker.h b/libsolidity/analysis/OverrideChecker.h
index d47b89f3d..564100453 100644
--- a/libsolidity/analysis/OverrideChecker.h
+++ b/libsolidity/analysis/OverrideChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that verifies override properties.
*/
diff --git a/libsolidity/analysis/PostTypeChecker.cpp b/libsolidity/analysis/PostTypeChecker.cpp
index 1b5b5b7c3..cb04eec6f 100644
--- a/libsolidity/analysis/PostTypeChecker.cpp
+++ b/libsolidity/analysis/PostTypeChecker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/analysis/PostTypeChecker.h b/libsolidity/analysis/PostTypeChecker.h
index 0a3358553..d3f23918c 100644
--- a/libsolidity/analysis/PostTypeChecker.h
+++ b/libsolidity/analysis/PostTypeChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/analysis/ReferencesResolver.cpp b/libsolidity/analysis/ReferencesResolver.cpp
index 408a7ff83..10ad415c1 100644
--- a/libsolidity/analysis/ReferencesResolver.cpp
+++ b/libsolidity/analysis/ReferencesResolver.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/analysis/ReferencesResolver.h b/libsolidity/analysis/ReferencesResolver.h
index 7da745cc5..710f388cb 100644
--- a/libsolidity/analysis/ReferencesResolver.h
+++ b/libsolidity/analysis/ReferencesResolver.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/analysis/StaticAnalyzer.cpp b/libsolidity/analysis/StaticAnalyzer.cpp
index 62a1861d1..68f52ac26 100644
--- a/libsolidity/analysis/StaticAnalyzer.cpp
+++ b/libsolidity/analysis/StaticAnalyzer.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Federico Bond
* @date 2016
diff --git a/libsolidity/analysis/StaticAnalyzer.h b/libsolidity/analysis/StaticAnalyzer.h
index 7886b4288..dc6263d7e 100644
--- a/libsolidity/analysis/StaticAnalyzer.h
+++ b/libsolidity/analysis/StaticAnalyzer.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Federico Bond
* @date 2016
diff --git a/libsolidity/analysis/SyntaxChecker.cpp b/libsolidity/analysis/SyntaxChecker.cpp
index 267d5764f..26d90f4f1 100644
--- a/libsolidity/analysis/SyntaxChecker.cpp
+++ b/libsolidity/analysis/SyntaxChecker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/analysis/SyntaxChecker.h b/libsolidity/analysis/SyntaxChecker.h
index 78aa6b82f..1ace2f36a 100644
--- a/libsolidity/analysis/SyntaxChecker.h
+++ b/libsolidity/analysis/SyntaxChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp
index a81520b05..92abc11e6 100644
--- a/libsolidity/analysis/TypeChecker.cpp
+++ b/libsolidity/analysis/TypeChecker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/analysis/TypeChecker.h b/libsolidity/analysis/TypeChecker.h
index 9e5f9470f..e34c9e9d0 100644
--- a/libsolidity/analysis/TypeChecker.h
+++ b/libsolidity/analysis/TypeChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/analysis/ViewPureChecker.cpp b/libsolidity/analysis/ViewPureChecker.cpp
index 09c8a34b3..d2e1b3e43 100644
--- a/libsolidity/analysis/ViewPureChecker.cpp
+++ b/libsolidity/analysis/ViewPureChecker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libsolidity/analysis/ViewPureChecker.h b/libsolidity/analysis/ViewPureChecker.h
index 10e60f051..87135b4f7 100644
--- a/libsolidity/analysis/ViewPureChecker.h
+++ b/libsolidity/analysis/ViewPureChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/ast/AST.cpp b/libsolidity/ast/AST.cpp
index cba5bccc3..7c1ed2aa8 100644
--- a/libsolidity/ast/AST.cpp
+++ b/libsolidity/ast/AST.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h
index 34fefeb0a..eb2b4f87d 100644
--- a/libsolidity/ast/AST.h
+++ b/libsolidity/ast/AST.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/ast/ASTAnnotations.cpp b/libsolidity/ast/ASTAnnotations.cpp
index eb3caf721..3556041d8 100644
--- a/libsolidity/ast/ASTAnnotations.cpp
+++ b/libsolidity/ast/ASTAnnotations.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h
index 507559ca6..d4df9d0cf 100644
--- a/libsolidity/ast/ASTAnnotations.h
+++ b/libsolidity/ast/ASTAnnotations.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/ast/ASTEnums.h b/libsolidity/ast/ASTEnums.h
index 19279c6b7..e167e7d49 100644
--- a/libsolidity/ast/ASTEnums.h
+++ b/libsolidity/ast/ASTEnums.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2017
* Enums for AST classes.
diff --git a/libsolidity/ast/ASTForward.h b/libsolidity/ast/ASTForward.h
index 38da35218..3f082d975 100644
--- a/libsolidity/ast/ASTForward.h
+++ b/libsolidity/ast/ASTForward.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index 219151f89..39b92bbb4 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2017
* Converts the AST into json format
diff --git a/libsolidity/ast/ASTJsonConverter.h b/libsolidity/ast/ASTJsonConverter.h
index a1d3cd4ad..bb5d9651c 100644
--- a/libsolidity/ast/ASTJsonConverter.h
+++ b/libsolidity/ast/ASTJsonConverter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Lefteris
* @date 2015
diff --git a/libsolidity/ast/ASTJsonImporter.cpp b/libsolidity/ast/ASTJsonImporter.cpp
index ccf9af5a7..33975d8ca 100644
--- a/libsolidity/ast/ASTJsonImporter.cpp
+++ b/libsolidity/ast/ASTJsonImporter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author julius
* @date 2019
diff --git a/libsolidity/ast/ASTJsonImporter.h b/libsolidity/ast/ASTJsonImporter.h
index ebcbd660c..0bfb111bf 100644
--- a/libsolidity/ast/ASTJsonImporter.h
+++ b/libsolidity/ast/ASTJsonImporter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author julius
* @date 2019
diff --git a/libsolidity/ast/ASTUtils.cpp b/libsolidity/ast/ASTUtils.cpp
index 483b75301..54db7002e 100644
--- a/libsolidity/ast/ASTUtils.cpp
+++ b/libsolidity/ast/ASTUtils.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libsolidity/ast/ASTUtils.h b/libsolidity/ast/ASTUtils.h
index af77b60f1..38465d8d5 100644
--- a/libsolidity/ast/ASTUtils.h
+++ b/libsolidity/ast/ASTUtils.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/ast/ASTVisitor.h b/libsolidity/ast/ASTVisitor.h
index 52e90b0d7..c5aeba402 100644
--- a/libsolidity/ast/ASTVisitor.h
+++ b/libsolidity/ast/ASTVisitor.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/ast/AST_accept.h b/libsolidity/ast/AST_accept.h
index e597ce46b..2105e369d 100644
--- a/libsolidity/ast/AST_accept.h
+++ b/libsolidity/ast/AST_accept.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/ast/AsmJsonImporter.cpp b/libsolidity/ast/AsmJsonImporter.cpp
index 302388841..3ff280f54 100644
--- a/libsolidity/ast/AsmJsonImporter.cpp
+++ b/libsolidity/ast/AsmJsonImporter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author julius
* @date 2019
diff --git a/libsolidity/ast/AsmJsonImporter.h b/libsolidity/ast/AsmJsonImporter.h
index 498b4e489..b4e8cfe7b 100644
--- a/libsolidity/ast/AsmJsonImporter.h
+++ b/libsolidity/ast/AsmJsonImporter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author julius
* @date 2019
diff --git a/libsolidity/ast/ExperimentalFeatures.h b/libsolidity/ast/ExperimentalFeatures.h
index 6fdc6897b..772bc4e08 100644
--- a/libsolidity/ast/ExperimentalFeatures.h
+++ b/libsolidity/ast/ExperimentalFeatures.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* List of experimental features.
*/
diff --git a/libsolidity/ast/TypeProvider.cpp b/libsolidity/ast/TypeProvider.cpp
index 6fd778403..c7ef3cfbd 100644
--- a/libsolidity/ast/TypeProvider.cpp
+++ b/libsolidity/ast/TypeProvider.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libsolidity/ast/TypeProvider.h b/libsolidity/ast/TypeProvider.h
index a86542d16..1f9ba4329 100644
--- a/libsolidity/ast/TypeProvider.h
+++ b/libsolidity/ast/TypeProvider.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp
index 825fc8d0c..b382e9803 100644
--- a/libsolidity/ast/Types.cpp
+++ b/libsolidity/ast/Types.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/ast/Types.h b/libsolidity/ast/Types.h
index 155fa7f14..02f5c9f5f 100644
--- a/libsolidity/ast/Types.h
+++ b/libsolidity/ast/Types.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/ABIFunctions.cpp b/libsolidity/codegen/ABIFunctions.cpp
index 9f244fdb1..ef5948069 100644
--- a/libsolidity/codegen/ABIFunctions.cpp
+++ b/libsolidity/codegen/ABIFunctions.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2017
diff --git a/libsolidity/codegen/ABIFunctions.h b/libsolidity/codegen/ABIFunctions.h
index a66b1284e..e3a7e6f18 100644
--- a/libsolidity/codegen/ABIFunctions.h
+++ b/libsolidity/codegen/ABIFunctions.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2017
diff --git a/libsolidity/codegen/ArrayUtils.cpp b/libsolidity/codegen/ArrayUtils.cpp
index 409c16cd7..ef94b6bf2 100644
--- a/libsolidity/codegen/ArrayUtils.cpp
+++ b/libsolidity/codegen/ArrayUtils.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/codegen/ArrayUtils.h b/libsolidity/codegen/ArrayUtils.h
index 2ee087974..7cc01dd26 100644
--- a/libsolidity/codegen/ArrayUtils.h
+++ b/libsolidity/codegen/ArrayUtils.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/codegen/Compiler.cpp b/libsolidity/codegen/Compiler.cpp
index f343f2377..a64a34009 100644
--- a/libsolidity/codegen/Compiler.cpp
+++ b/libsolidity/codegen/Compiler.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/Compiler.h b/libsolidity/codegen/Compiler.h
index e12332015..11d5c2abd 100644
--- a/libsolidity/codegen/Compiler.h
+++ b/libsolidity/codegen/Compiler.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp
index 2f3659010..9fde94e8a 100644
--- a/libsolidity/codegen/CompilerContext.cpp
+++ b/libsolidity/codegen/CompilerContext.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/CompilerContext.h b/libsolidity/codegen/CompilerContext.h
index c32b51406..f82c705d8 100644
--- a/libsolidity/codegen/CompilerContext.h
+++ b/libsolidity/codegen/CompilerContext.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/CompilerUtils.cpp b/libsolidity/codegen/CompilerUtils.cpp
index 2d7b38b25..f2db90569 100644
--- a/libsolidity/codegen/CompilerUtils.cpp
+++ b/libsolidity/codegen/CompilerUtils.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h
index a65edb8f2..64ab84fe7 100644
--- a/libsolidity/codegen/CompilerUtils.h
+++ b/libsolidity/codegen/CompilerUtils.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/ContractCompiler.cpp b/libsolidity/codegen/ContractCompiler.cpp
index ad9c97474..225628a6c 100644
--- a/libsolidity/codegen/ContractCompiler.cpp
+++ b/libsolidity/codegen/ContractCompiler.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/ContractCompiler.h b/libsolidity/codegen/ContractCompiler.h
index 0916da281..d4badc197 100644
--- a/libsolidity/codegen/ContractCompiler.h
+++ b/libsolidity/codegen/ContractCompiler.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp
index 694ea8fa6..566db8517 100644
--- a/libsolidity/codegen/ExpressionCompiler.cpp
+++ b/libsolidity/codegen/ExpressionCompiler.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/codegen/ExpressionCompiler.h b/libsolidity/codegen/ExpressionCompiler.h
index 0216b260b..c0a703d78 100644
--- a/libsolidity/codegen/ExpressionCompiler.h
+++ b/libsolidity/codegen/ExpressionCompiler.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @author Gav Wood
diff --git a/libsolidity/codegen/LValue.cpp b/libsolidity/codegen/LValue.cpp
index 798428098..777196767 100644
--- a/libsolidity/codegen/LValue.cpp
+++ b/libsolidity/codegen/LValue.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/codegen/LValue.h b/libsolidity/codegen/LValue.h
index cd72f37e0..9bf0d1c05 100644
--- a/libsolidity/codegen/LValue.h
+++ b/libsolidity/codegen/LValue.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/codegen/MultiUseYulFunctionCollector.cpp b/libsolidity/codegen/MultiUseYulFunctionCollector.cpp
index f49f3083d..0049deb78 100644
--- a/libsolidity/codegen/MultiUseYulFunctionCollector.cpp
+++ b/libsolidity/codegen/MultiUseYulFunctionCollector.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Container of (unparsed) Yul functions identified by name which are meant to be generated
* only once.
diff --git a/libsolidity/codegen/MultiUseYulFunctionCollector.h b/libsolidity/codegen/MultiUseYulFunctionCollector.h
index 031d08bde..428a0c9a3 100644
--- a/libsolidity/codegen/MultiUseYulFunctionCollector.h
+++ b/libsolidity/codegen/MultiUseYulFunctionCollector.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Container of (unparsed) Yul functions identified by name which are meant to be generated
* only once.
diff --git a/libsolidity/codegen/ReturnInfo.cpp b/libsolidity/codegen/ReturnInfo.cpp
index b522addd4..f0828befd 100644
--- a/libsolidity/codegen/ReturnInfo.cpp
+++ b/libsolidity/codegen/ReturnInfo.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/codegen/ReturnInfo.h b/libsolidity/codegen/ReturnInfo.h
index 01aa30862..e1e5719ef 100644
--- a/libsolidity/codegen/ReturnInfo.h
+++ b/libsolidity/codegen/ReturnInfo.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that computes information relevant during decoding an external function
* call's return values.
diff --git a/libsolidity/codegen/YulUtilFunctions.cpp b/libsolidity/codegen/YulUtilFunctions.cpp
index 7678a0bef..cab908c18 100644
--- a/libsolidity/codegen/YulUtilFunctions.cpp
+++ b/libsolidity/codegen/YulUtilFunctions.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that can generate various useful Yul functions.
*/
diff --git a/libsolidity/codegen/YulUtilFunctions.h b/libsolidity/codegen/YulUtilFunctions.h
index c1d98cfe4..5d9ec805f 100644
--- a/libsolidity/codegen/YulUtilFunctions.h
+++ b/libsolidity/codegen/YulUtilFunctions.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that can generate various useful Yul functions.
*/
diff --git a/libsolidity/codegen/ir/Common.cpp b/libsolidity/codegen/ir/Common.cpp
index 2bf4a36cf..42a4650db 100644
--- a/libsolidity/codegen/ir/Common.cpp
+++ b/libsolidity/codegen/ir/Common.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libsolidity/codegen/ir/Common.h b/libsolidity/codegen/ir/Common.h
index 3f4ea64f4..da6c61a7f 100644
--- a/libsolidity/codegen/ir/Common.h
+++ b/libsolidity/codegen/ir/Common.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Miscellaneous utilities for use in IR generator.
*/
diff --git a/libsolidity/codegen/ir/IRGenerationContext.cpp b/libsolidity/codegen/ir/IRGenerationContext.cpp
index b85e2f7d3..7476dd90e 100644
--- a/libsolidity/codegen/ir/IRGenerationContext.cpp
+++ b/libsolidity/codegen/ir/IRGenerationContext.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Class that contains contextual information during IR generation.
*/
diff --git a/libsolidity/codegen/ir/IRGenerationContext.h b/libsolidity/codegen/ir/IRGenerationContext.h
index d6d8022df..469beea2f 100644
--- a/libsolidity/codegen/ir/IRGenerationContext.h
+++ b/libsolidity/codegen/ir/IRGenerationContext.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Class that contains contextual information during IR generation.
*/
diff --git a/libsolidity/codegen/ir/IRGenerator.cpp b/libsolidity/codegen/ir/IRGenerator.cpp
index 92df1ba83..f7f66b4f5 100644
--- a/libsolidity/codegen/ir/IRGenerator.cpp
+++ b/libsolidity/codegen/ir/IRGenerator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Alex Beregszaszi
* @date 2017
diff --git a/libsolidity/codegen/ir/IRGenerator.h b/libsolidity/codegen/ir/IRGenerator.h
index 6bf94e575..e57b8535e 100644
--- a/libsolidity/codegen/ir/IRGenerator.h
+++ b/libsolidity/codegen/ir/IRGenerator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Alex Beregszaszi
* @date 2017
diff --git a/libsolidity/codegen/ir/IRGeneratorForStatements.cpp b/libsolidity/codegen/ir/IRGeneratorForStatements.cpp
index a8d657b02..51679571e 100644
--- a/libsolidity/codegen/ir/IRGeneratorForStatements.cpp
+++ b/libsolidity/codegen/ir/IRGeneratorForStatements.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that translates Solidity code into Yul at statement level and below.
*/
diff --git a/libsolidity/codegen/ir/IRGeneratorForStatements.h b/libsolidity/codegen/ir/IRGeneratorForStatements.h
index bdf21f783..09c9c7d27 100644
--- a/libsolidity/codegen/ir/IRGeneratorForStatements.h
+++ b/libsolidity/codegen/ir/IRGeneratorForStatements.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that translates Solidity code into Yul at statement level and below.
*/
diff --git a/libsolidity/codegen/ir/IRLValue.h b/libsolidity/codegen/ir/IRLValue.h
index c5eadc9b2..fef390d4c 100644
--- a/libsolidity/codegen/ir/IRLValue.h
+++ b/libsolidity/codegen/ir/IRLValue.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Classes that store locations of lvalues.
*/
diff --git a/libsolidity/codegen/ir/IRVariable.cpp b/libsolidity/codegen/ir/IRVariable.cpp
index 8cb1896a6..3fce5288a 100644
--- a/libsolidity/codegen/ir/IRVariable.cpp
+++ b/libsolidity/codegen/ir/IRVariable.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/libsolidity/codegen/ir/IRVariable.h b/libsolidity/codegen/ir/IRVariable.h
index dbf37704c..71413cc38 100644
--- a/libsolidity/codegen/ir/IRVariable.h
+++ b/libsolidity/codegen/ir/IRVariable.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libsolidity/formal/BMC.cpp b/libsolidity/formal/BMC.cpp
index 921c71ccf..363910edd 100644
--- a/libsolidity/formal/BMC.cpp
+++ b/libsolidity/formal/BMC.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/BMC.h b/libsolidity/formal/BMC.h
index 2eed58101..324595bba 100644
--- a/libsolidity/formal/BMC.h
+++ b/libsolidity/formal/BMC.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Class that implements an SMT-based Bounded Model Checker (BMC).
* Traverses the AST such that:
diff --git a/libsolidity/formal/CHC.cpp b/libsolidity/formal/CHC.cpp
index 5dd8c958c..f68872d5c 100644
--- a/libsolidity/formal/CHC.cpp
+++ b/libsolidity/formal/CHC.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/CHC.h b/libsolidity/formal/CHC.h
index 5e518a130..d025e31d3 100644
--- a/libsolidity/formal/CHC.h
+++ b/libsolidity/formal/CHC.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Model checker based on Constrained Horn Clauses.
diff --git a/libsolidity/formal/EncodingContext.cpp b/libsolidity/formal/EncodingContext.cpp
index b58160230..422eb44ee 100644
--- a/libsolidity/formal/EncodingContext.cpp
+++ b/libsolidity/formal/EncodingContext.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/EncodingContext.h b/libsolidity/formal/EncodingContext.h
index 09316709a..e188792d8 100644
--- a/libsolidity/formal/EncodingContext.h
+++ b/libsolidity/formal/EncodingContext.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/formal/ModelChecker.cpp b/libsolidity/formal/ModelChecker.cpp
index 718a41ae1..9465dd342 100644
--- a/libsolidity/formal/ModelChecker.cpp
+++ b/libsolidity/formal/ModelChecker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/ModelChecker.h b/libsolidity/formal/ModelChecker.h
index b4378e629..42d116b28 100644
--- a/libsolidity/formal/ModelChecker.h
+++ b/libsolidity/formal/ModelChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Entry point to the model checking engines.
* The goal of this class is to make different
diff --git a/libsolidity/formal/SMTEncoder.cpp b/libsolidity/formal/SMTEncoder.cpp
index ac87bade1..e3f16b2ef 100644
--- a/libsolidity/formal/SMTEncoder.cpp
+++ b/libsolidity/formal/SMTEncoder.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/SMTEncoder.h b/libsolidity/formal/SMTEncoder.h
index 86ed21ef9..92ef0601a 100644
--- a/libsolidity/formal/SMTEncoder.h
+++ b/libsolidity/formal/SMTEncoder.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Encodes Solidity into SMT expressions without creating
* any verification targets.
diff --git a/libsolidity/formal/SSAVariable.cpp b/libsolidity/formal/SSAVariable.cpp
index 5569d8f36..bb599c35a 100644
--- a/libsolidity/formal/SSAVariable.cpp
+++ b/libsolidity/formal/SSAVariable.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/SSAVariable.h b/libsolidity/formal/SSAVariable.h
index bad6fa80c..7db69d1fd 100644
--- a/libsolidity/formal/SSAVariable.h
+++ b/libsolidity/formal/SSAVariable.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/formal/SymbolicState.cpp b/libsolidity/formal/SymbolicState.cpp
index 1ab6e1860..06fe1bd2a 100644
--- a/libsolidity/formal/SymbolicState.cpp
+++ b/libsolidity/formal/SymbolicState.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/SymbolicState.h b/libsolidity/formal/SymbolicState.h
index 2b234466d..aaf6971fa 100644
--- a/libsolidity/formal/SymbolicState.h
+++ b/libsolidity/formal/SymbolicState.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/formal/SymbolicTypes.cpp b/libsolidity/formal/SymbolicTypes.cpp
index 096f496c4..b149cb69c 100644
--- a/libsolidity/formal/SymbolicTypes.cpp
+++ b/libsolidity/formal/SymbolicTypes.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/SymbolicTypes.h b/libsolidity/formal/SymbolicTypes.h
index 226bd5f94..401c9f0b6 100644
--- a/libsolidity/formal/SymbolicTypes.h
+++ b/libsolidity/formal/SymbolicTypes.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/formal/SymbolicVariables.cpp b/libsolidity/formal/SymbolicVariables.cpp
index 3f86b48d9..b09938e63 100644
--- a/libsolidity/formal/SymbolicVariables.cpp
+++ b/libsolidity/formal/SymbolicVariables.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/SymbolicVariables.h b/libsolidity/formal/SymbolicVariables.h
index 65dce43f0..bdf36afd0 100644
--- a/libsolidity/formal/SymbolicVariables.h
+++ b/libsolidity/formal/SymbolicVariables.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/formal/VariableUsage.cpp b/libsolidity/formal/VariableUsage.cpp
index 11ca44ff3..1634b3b58 100644
--- a/libsolidity/formal/VariableUsage.cpp
+++ b/libsolidity/formal/VariableUsage.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/formal/VariableUsage.h b/libsolidity/formal/VariableUsage.h
index 7b55998d2..508efbc60 100644
--- a/libsolidity/formal/VariableUsage.h
+++ b/libsolidity/formal/VariableUsage.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/interface/ABI.cpp b/libsolidity/interface/ABI.cpp
index c00c2f83c..512bf9b13 100644
--- a/libsolidity/interface/ABI.cpp
+++ b/libsolidity/interface/ABI.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Utilities to handle the Contract ABI (https://solidity.readthedocs.io/en/develop/abi-spec.html)
*/
diff --git a/libsolidity/interface/ABI.h b/libsolidity/interface/ABI.h
index 1dd578ceb..76b1a4a75 100644
--- a/libsolidity/interface/ABI.h
+++ b/libsolidity/interface/ABI.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Utilities to handle the Contract ABI (https://solidity.readthedocs.io/en/develop/abi-spec.html)
*/
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp
index 164938c60..f8164bc9f 100644
--- a/libsolidity/interface/CompilerStack.cpp
+++ b/libsolidity/interface/CompilerStack.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @author Gav Wood
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h
index 509623cc1..ce0f949b9 100644
--- a/libsolidity/interface/CompilerStack.h
+++ b/libsolidity/interface/CompilerStack.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @author Gav Wood
diff --git a/libsolidity/interface/DebugSettings.h b/libsolidity/interface/DebugSettings.h
index 34818889c..e0dab05bb 100644
--- a/libsolidity/interface/DebugSettings.h
+++ b/libsolidity/interface/DebugSettings.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Settings to aid debugging.
*/
diff --git a/libsolidity/interface/GasEstimator.cpp b/libsolidity/interface/GasEstimator.cpp
index 1a86f36ce..2b56977ff 100644
--- a/libsolidity/interface/GasEstimator.cpp
+++ b/libsolidity/interface/GasEstimator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/interface/GasEstimator.h b/libsolidity/interface/GasEstimator.h
index 1cfcec9a7..f814c8b8d 100644
--- a/libsolidity/interface/GasEstimator.h
+++ b/libsolidity/interface/GasEstimator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/interface/Natspec.cpp b/libsolidity/interface/Natspec.cpp
index a292c7a3d..1f5c4807a 100644
--- a/libsolidity/interface/Natspec.cpp
+++ b/libsolidity/interface/Natspec.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Lefteris
* @date 2014
diff --git a/libsolidity/interface/Natspec.h b/libsolidity/interface/Natspec.h
index 8d414e71a..9dab62625 100644
--- a/libsolidity/interface/Natspec.h
+++ b/libsolidity/interface/Natspec.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Lefteris
* @date 2014
diff --git a/libsolidity/interface/OptimiserSettings.h b/libsolidity/interface/OptimiserSettings.h
index cd82290af..67007fc4c 100644
--- a/libsolidity/interface/OptimiserSettings.h
+++ b/libsolidity/interface/OptimiserSettings.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Alex Beregszaszi
* @date 2017
diff --git a/libsolidity/interface/ReadFile.h b/libsolidity/interface/ReadFile.h
index 232d39be4..b21e8634a 100644
--- a/libsolidity/interface/ReadFile.h
+++ b/libsolidity/interface/ReadFile.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp
index 7293f94bc..b1e355fab 100644
--- a/libsolidity/interface/StandardCompiler.cpp
+++ b/libsolidity/interface/StandardCompiler.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Alex Beregszaszi
* @date 2016
diff --git a/libsolidity/interface/StandardCompiler.h b/libsolidity/interface/StandardCompiler.h
index d1a1489c3..cf5be94a0 100644
--- a/libsolidity/interface/StandardCompiler.h
+++ b/libsolidity/interface/StandardCompiler.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Alex Beregszaszi
* @date 2016
diff --git a/libsolidity/interface/StorageLayout.cpp b/libsolidity/interface/StorageLayout.cpp
index 806652cfe..d23344bc8 100644
--- a/libsolidity/interface/StorageLayout.cpp
+++ b/libsolidity/interface/StorageLayout.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/interface/StorageLayout.h b/libsolidity/interface/StorageLayout.h
index 331a85d46..4cfee73a9 100644
--- a/libsolidity/interface/StorageLayout.h
+++ b/libsolidity/interface/StorageLayout.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Generates the storage layout of a contract.
*/
diff --git a/libsolidity/interface/Version.cpp b/libsolidity/interface/Version.cpp
index 412750bc8..297333b6b 100644
--- a/libsolidity/interface/Version.cpp
+++ b/libsolidity/interface/Version.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/interface/Version.h b/libsolidity/interface/Version.h
index f2b1ad429..a5965d42e 100644
--- a/libsolidity/interface/Version.h
+++ b/libsolidity/interface/Version.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2015
diff --git a/libsolidity/parsing/DocStringParser.cpp b/libsolidity/parsing/DocStringParser.cpp
index 9f6f13f94..314f04201 100644
--- a/libsolidity/parsing/DocStringParser.cpp
+++ b/libsolidity/parsing/DocStringParser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolidity/parsing/DocStringParser.h b/libsolidity/parsing/DocStringParser.h
index d5ebd2383..4b6d6b512 100644
--- a/libsolidity/parsing/DocStringParser.h
+++ b/libsolidity/parsing/DocStringParser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Lefteris
* @date 2014, 2015
diff --git a/libsolidity/parsing/Parser.cpp b/libsolidity/parsing/Parser.cpp
index 4b63cbc58..ce08bef60 100644
--- a/libsolidity/parsing/Parser.cpp
+++ b/libsolidity/parsing/Parser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h
index f66754045..f84cb7041 100644
--- a/libsolidity/parsing/Parser.h
+++ b/libsolidity/parsing/Parser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/libsolidity/parsing/Token.h b/libsolidity/parsing/Token.h
index 0e8f1f85b..0382aba0e 100644
--- a/libsolidity/parsing/Token.h
+++ b/libsolidity/parsing/Token.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Solidity and Yul both share the same Token (and Scanner) API.
*
diff --git a/libsolutil/Algorithms.h b/libsolutil/Algorithms.h
index 3897d65d2..88e034bf4 100644
--- a/libsolutil/Algorithms.h
+++ b/libsolutil/Algorithms.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolutil/AnsiColorized.h b/libsolutil/AnsiColorized.h
index 4f7ea577b..69d10d727 100644
--- a/libsolutil/AnsiColorized.h
+++ b/libsolutil/AnsiColorized.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolutil/Assertions.h b/libsolutil/Assertions.h
index 1c5a14008..b143e6ed7 100644
--- a/libsolutil/Assertions.h
+++ b/libsolutil/Assertions.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @file Assertions.h
* @author Christian
diff --git a/libsolutil/Common.h b/libsolutil/Common.h
index f2d9c1d84..aae2fa859 100644
--- a/libsolutil/Common.h
+++ b/libsolutil/Common.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file Common.h
* @author Gav Wood
* @date 2014
diff --git a/libsolutil/CommonData.cpp b/libsolutil/CommonData.cpp
index 2896804ca..1dc616836 100644
--- a/libsolutil/CommonData.cpp
+++ b/libsolutil/CommonData.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file CommonData.cpp
* @author Gav Wood
* @date 2014
diff --git a/libsolutil/CommonData.h b/libsolutil/CommonData.h
index a5c045646..b61ba82a2 100644
--- a/libsolutil/CommonData.h
+++ b/libsolutil/CommonData.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file CommonData.h
* @author Gav Wood
* @date 2014
diff --git a/libsolutil/CommonIO.cpp b/libsolutil/CommonIO.cpp
index cbe68f0d1..43886264b 100644
--- a/libsolutil/CommonIO.cpp
+++ b/libsolutil/CommonIO.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file CommonIO.cpp
* @author Gav Wood
* @date 2014
diff --git a/libsolutil/CommonIO.h b/libsolutil/CommonIO.h
index 38c8f564a..2a811387b 100644
--- a/libsolutil/CommonIO.h
+++ b/libsolutil/CommonIO.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file CommonIO.h
* @author Gav Wood
* @date 2014
diff --git a/libsolutil/Exceptions.cpp b/libsolutil/Exceptions.cpp
index 94b40f634..fa4021d3b 100644
--- a/libsolutil/Exceptions.cpp
+++ b/libsolutil/Exceptions.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolutil/Exceptions.h b/libsolutil/Exceptions.h
index 971b9306f..9c84c8f71 100644
--- a/libsolutil/Exceptions.h
+++ b/libsolutil/Exceptions.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolutil/FixedHash.h b/libsolutil/FixedHash.h
index 7fbb8eec9..84d6afba3 100644
--- a/libsolutil/FixedHash.h
+++ b/libsolutil/FixedHash.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file FixedHash.h
* @author Gav Wood
* @date 2014
diff --git a/libsolutil/IndentedWriter.cpp b/libsolutil/IndentedWriter.cpp
index 884b50e9c..0e0aded3c 100644
--- a/libsolutil/IndentedWriter.cpp
+++ b/libsolutil/IndentedWriter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2017
* Indented text writer.
diff --git a/libsolutil/IndentedWriter.h b/libsolutil/IndentedWriter.h
index 29ecc4f6d..47e2817fa 100644
--- a/libsolutil/IndentedWriter.h
+++ b/libsolutil/IndentedWriter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2017
* Indented text writer.
diff --git a/libsolutil/InvertibleMap.h b/libsolutil/InvertibleMap.h
index 4448d03d7..3c6f3238a 100644
--- a/libsolutil/InvertibleMap.h
+++ b/libsolutil/InvertibleMap.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolutil/IpfsHash.cpp b/libsolutil/IpfsHash.cpp
index 6913d42f0..c034ce5ba 100644
--- a/libsolutil/IpfsHash.cpp
+++ b/libsolutil/IpfsHash.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libsolutil/IpfsHash.h b/libsolutil/IpfsHash.h
index 555b35961..977fb9836 100644
--- a/libsolutil/IpfsHash.h
+++ b/libsolutil/IpfsHash.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolutil/JSON.cpp b/libsolutil/JSON.cpp
index 609b9bb04..b3635c877 100644
--- a/libsolutil/JSON.cpp
+++ b/libsolutil/JSON.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file JSON.cpp
* @author Alexander Arlt
* @date 2018
diff --git a/libsolutil/JSON.h b/libsolutil/JSON.h
index 17633ea07..5328a3faf 100644
--- a/libsolutil/JSON.h
+++ b/libsolutil/JSON.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file JSON.h
* @date 2016
*
diff --git a/libsolutil/Keccak256.cpp b/libsolutil/Keccak256.cpp
index 2a7a241c7..50e849352 100644
--- a/libsolutil/Keccak256.cpp
+++ b/libsolutil/Keccak256.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file SHA3.cpp
* @author Gav Wood
* @date 2014
diff --git a/libsolutil/Keccak256.h b/libsolutil/Keccak256.h
index 7135e55c0..7fb7c7501 100644
--- a/libsolutil/Keccak256.h
+++ b/libsolutil/Keccak256.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file SHA3.h
* @author Gav Wood
* @date 2014
diff --git a/libsolutil/LazyInit.h b/libsolutil/LazyInit.h
index fe2f6a916..b242484df 100644
--- a/libsolutil/LazyInit.h
+++ b/libsolutil/LazyInit.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libsolutil/Result.h b/libsolutil/Result.h
index a2c471097..ca9563947 100644
--- a/libsolutil/Result.h
+++ b/libsolutil/Result.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libsolutil/StringUtils.cpp b/libsolutil/StringUtils.cpp
index a5b0149c2..35804c60a 100644
--- a/libsolutil/StringUtils.cpp
+++ b/libsolutil/StringUtils.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file StringUtils.h
* @author Balajiganapathi S
* @date 2017
diff --git a/libsolutil/StringUtils.h b/libsolutil/StringUtils.h
index caea637a2..e7a68cedc 100644
--- a/libsolutil/StringUtils.h
+++ b/libsolutil/StringUtils.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file StringUtils.h
* @author Balajiganapathi S
* @date 2017
diff --git a/libsolutil/SwarmHash.cpp b/libsolutil/SwarmHash.cpp
index 4cfc0fe66..f35a74bd1 100644
--- a/libsolutil/SwarmHash.cpp
+++ b/libsolutil/SwarmHash.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file SwarmHash.cpp
*/
diff --git a/libsolutil/SwarmHash.h b/libsolutil/SwarmHash.h
index 3905b2f5f..ed7a52292 100644
--- a/libsolutil/SwarmHash.h
+++ b/libsolutil/SwarmHash.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file SwarmHash.h
*/
diff --git a/libsolutil/UTF8.cpp b/libsolutil/UTF8.cpp
index a7d55af6c..4acf7a8ea 100644
--- a/libsolutil/UTF8.cpp
+++ b/libsolutil/UTF8.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file UTF8.cpp
* @author Alex Beregszaszi
* @date 2016
diff --git a/libsolutil/UTF8.h b/libsolutil/UTF8.h
index cd84c3982..59e2d4145 100644
--- a/libsolutil/UTF8.h
+++ b/libsolutil/UTF8.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file UTF8.h
* @author Alex Beregszaszi
* @date 2016
diff --git a/libsolutil/Visitor.h b/libsolutil/Visitor.h
index 6d771cd86..497ed2f29 100644
--- a/libsolutil/Visitor.h
+++ b/libsolutil/Visitor.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Visitor templates.
*/
diff --git a/libsolutil/Whiskers.cpp b/libsolutil/Whiskers.cpp
index aebe55c69..3049af5c4 100644
--- a/libsolutil/Whiskers.cpp
+++ b/libsolutil/Whiskers.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file Whiskers.cpp
* @author Chris
* @date 2017
diff --git a/libsolutil/Whiskers.h b/libsolutil/Whiskers.h
index 5eb00dce5..5ddb7a884 100644
--- a/libsolutil/Whiskers.h
+++ b/libsolutil/Whiskers.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/** @file Whiskers.h
* @author Chris
* @date 2017
diff --git a/libyul/AsmAnalysis.cpp b/libyul/AsmAnalysis.cpp
index 315699153..e85ecd876 100644
--- a/libyul/AsmAnalysis.cpp
+++ b/libyul/AsmAnalysis.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Analyzer part of inline assembly.
*/
diff --git a/libyul/AsmAnalysis.h b/libyul/AsmAnalysis.h
index e0a751b13..8d8db59ab 100644
--- a/libyul/AsmAnalysis.h
+++ b/libyul/AsmAnalysis.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Analysis part of inline assembly.
*/
diff --git a/libyul/AsmAnalysisInfo.h b/libyul/AsmAnalysisInfo.h
index d094ee510..9ac179ad8 100644
--- a/libyul/AsmAnalysisInfo.h
+++ b/libyul/AsmAnalysisInfo.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Information generated during analyzer part of inline assembly.
*/
diff --git a/libyul/AsmData.h b/libyul/AsmData.h
index f870536af..c4040f320 100644
--- a/libyul/AsmData.h
+++ b/libyul/AsmData.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/libyul/AsmDataForward.h b/libyul/AsmDataForward.h
index b21f46f82..02216fd01 100644
--- a/libyul/AsmDataForward.h
+++ b/libyul/AsmDataForward.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/libyul/AsmJsonConverter.cpp b/libyul/AsmJsonConverter.cpp
index d2b905ece..58b11338d 100644
--- a/libyul/AsmJsonConverter.cpp
+++ b/libyul/AsmJsonConverter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2019
* Converts inline assembly AST to JSON format
diff --git a/libyul/AsmJsonConverter.h b/libyul/AsmJsonConverter.h
index b350689fc..3436523b7 100644
--- a/libyul/AsmJsonConverter.h
+++ b/libyul/AsmJsonConverter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2019
* @author julius
diff --git a/libyul/AsmParser.cpp b/libyul/AsmParser.cpp
index 8dcb9a832..6c5d97e36 100644
--- a/libyul/AsmParser.cpp
+++ b/libyul/AsmParser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/libyul/AsmParser.h b/libyul/AsmParser.h
index 4c1d6980f..ecd62228a 100644
--- a/libyul/AsmParser.h
+++ b/libyul/AsmParser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/libyul/AsmPrinter.cpp b/libyul/AsmPrinter.cpp
index 97a7dc3ad..c5982afc9 100644
--- a/libyul/AsmPrinter.cpp
+++ b/libyul/AsmPrinter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2017
diff --git a/libyul/AsmPrinter.h b/libyul/AsmPrinter.h
index f7ee9ff54..648181cbf 100644
--- a/libyul/AsmPrinter.h
+++ b/libyul/AsmPrinter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2017
diff --git a/libyul/AsmScope.cpp b/libyul/AsmScope.cpp
index 86dbce483..1237cba8d 100644
--- a/libyul/AsmScope.cpp
+++ b/libyul/AsmScope.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Scopes for identifiers.
*/
diff --git a/libyul/AsmScope.h b/libyul/AsmScope.h
index 6da1ff1e0..0857b604b 100644
--- a/libyul/AsmScope.h
+++ b/libyul/AsmScope.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Scopes for identifiers.
*/
diff --git a/libyul/AsmScopeFiller.cpp b/libyul/AsmScopeFiller.cpp
index 90143ba4d..0e0695410 100644
--- a/libyul/AsmScopeFiller.cpp
+++ b/libyul/AsmScopeFiller.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Module responsible for registering identifiers inside their scopes.
*/
diff --git a/libyul/AsmScopeFiller.h b/libyul/AsmScopeFiller.h
index f3b7a1b8f..f2c35118b 100644
--- a/libyul/AsmScopeFiller.h
+++ b/libyul/AsmScopeFiller.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Module responsible for registering identifiers inside their scopes.
*/
diff --git a/libyul/AssemblyStack.cpp b/libyul/AssemblyStack.cpp
index 4598d6d2b..b8824740d 100644
--- a/libyul/AssemblyStack.cpp
+++ b/libyul/AssemblyStack.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Full assembly stack that can support EVM-assembly and Yul as input and EVM, EVM1.5 and
* Ewasm as output.
diff --git a/libyul/AssemblyStack.h b/libyul/AssemblyStack.h
index f9d235505..70325208d 100644
--- a/libyul/AssemblyStack.h
+++ b/libyul/AssemblyStack.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Full assembly stack that can support EVM-assembly and Yul as input and EVM, EVM1.5 and
* Ewasm as output.
diff --git a/libyul/CompilabilityChecker.h b/libyul/CompilabilityChecker.h
index d92f1977e..1267640bf 100644
--- a/libyul/CompilabilityChecker.h
+++ b/libyul/CompilabilityChecker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that checks whether all variables are reachable on the stack.
*/
diff --git a/libyul/ControlFlowSideEffects.h b/libyul/ControlFlowSideEffects.h
index 5621a122b..5e22ad862 100644
--- a/libyul/ControlFlowSideEffects.h
+++ b/libyul/ControlFlowSideEffects.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libyul/Dialect.cpp b/libyul/Dialect.cpp
index 407fdea2f..1003c8e44 100644
--- a/libyul/Dialect.cpp
+++ b/libyul/Dialect.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Yul dialect.
*/
diff --git a/libyul/Dialect.h b/libyul/Dialect.h
index 870205833..553f9049a 100644
--- a/libyul/Dialect.h
+++ b/libyul/Dialect.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Yul dialect.
*/
diff --git a/libyul/Exceptions.h b/libyul/Exceptions.h
index 9bb6a5d04..2fe155030 100644
--- a/libyul/Exceptions.h
+++ b/libyul/Exceptions.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Exceptions in Yul.
*/
diff --git a/libyul/Object.cpp b/libyul/Object.cpp
index 13ad9f8ca..1086e38cf 100644
--- a/libyul/Object.cpp
+++ b/libyul/Object.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Yul code and data object container.
*/
diff --git a/libyul/Object.h b/libyul/Object.h
index 6ae79ed42..3602e7177 100644
--- a/libyul/Object.h
+++ b/libyul/Object.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Yul code and data object container.
*/
diff --git a/libyul/ObjectParser.cpp b/libyul/ObjectParser.cpp
index 7e50fa88e..f1d38ad73 100644
--- a/libyul/ObjectParser.cpp
+++ b/libyul/ObjectParser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Parser for Yul code and data object container.
*/
diff --git a/libyul/ObjectParser.h b/libyul/ObjectParser.h
index 1bd9d956f..6c6f527cd 100644
--- a/libyul/ObjectParser.h
+++ b/libyul/ObjectParser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Parser for Yul code and data object container.
*/
diff --git a/libyul/SideEffects.h b/libyul/SideEffects.h
index 2a0232973..e9c12d9c8 100644
--- a/libyul/SideEffects.h
+++ b/libyul/SideEffects.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libyul/Utilities.cpp b/libyul/Utilities.cpp
index 59e0adce3..af72888fa 100644
--- a/libyul/Utilities.cpp
+++ b/libyul/Utilities.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Some useful snippets for the optimiser.
*/
diff --git a/libyul/Utilities.h b/libyul/Utilities.h
index 8b4547be3..53913e6fd 100644
--- a/libyul/Utilities.h
+++ b/libyul/Utilities.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Small useful snippets for the optimiser.
*/
diff --git a/libyul/YulString.h b/libyul/YulString.h
index 0abe1f38d..6985794ec 100644
--- a/libyul/YulString.h
+++ b/libyul/YulString.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* String abstraction that avoids copies.
*/
diff --git a/libyul/backends/evm/AbstractAssembly.h b/libyul/backends/evm/AbstractAssembly.h
index 42622272c..0c01a71d5 100644
--- a/libyul/backends/evm/AbstractAssembly.h
+++ b/libyul/backends/evm/AbstractAssembly.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2017
* Abstract assembly interface, subclasses of which are to be used with the generic
diff --git a/libyul/backends/evm/AsmCodeGen.cpp b/libyul/backends/evm/AsmCodeGen.cpp
index 327ce8895..55e73feb1 100644
--- a/libyul/backends/evm/AsmCodeGen.cpp
+++ b/libyul/backends/evm/AsmCodeGen.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Adaptor between the abstract assembly and eth assembly.
*/
diff --git a/libyul/backends/evm/AsmCodeGen.h b/libyul/backends/evm/AsmCodeGen.h
index 6ff02009c..d40b41fcd 100644
--- a/libyul/backends/evm/AsmCodeGen.h
+++ b/libyul/backends/evm/AsmCodeGen.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Adaptor between the abstract assembly and eth assembly.
*/
diff --git a/libyul/backends/evm/ConstantOptimiser.cpp b/libyul/backends/evm/ConstantOptimiser.cpp
index d8399d095..9148b0793 100644
--- a/libyul/backends/evm/ConstantOptimiser.cpp
+++ b/libyul/backends/evm/ConstantOptimiser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that replaces constants by expressions that compute them.
*/
diff --git a/libyul/backends/evm/ConstantOptimiser.h b/libyul/backends/evm/ConstantOptimiser.h
index 7423b5270..d6844bbe6 100644
--- a/libyul/backends/evm/ConstantOptimiser.h
+++ b/libyul/backends/evm/ConstantOptimiser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that replaces constants by expressions that compute them.
*/
diff --git a/libyul/backends/evm/EVMAssembly.cpp b/libyul/backends/evm/EVMAssembly.cpp
index 7cf3d0662..06288e562 100644
--- a/libyul/backends/evm/EVMAssembly.cpp
+++ b/libyul/backends/evm/EVMAssembly.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Assembly interface for EVM and EVM1.5.
*/
diff --git a/libyul/backends/evm/EVMAssembly.h b/libyul/backends/evm/EVMAssembly.h
index 9ee974bbb..6bf92e985 100644
--- a/libyul/backends/evm/EVMAssembly.h
+++ b/libyul/backends/evm/EVMAssembly.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Assembly interface for EVM and EVM1.5.
*/
diff --git a/libyul/backends/evm/EVMCodeTransform.cpp b/libyul/backends/evm/EVMCodeTransform.cpp
index 041e00380..51efbbe33 100644
--- a/libyul/backends/evm/EVMCodeTransform.cpp
+++ b/libyul/backends/evm/EVMCodeTransform.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Common code generator for translating Yul / inline assembly to EVM and EVM1.5.
*/
diff --git a/libyul/backends/evm/EVMCodeTransform.h b/libyul/backends/evm/EVMCodeTransform.h
index 1cfa6afd7..c344b834d 100644
--- a/libyul/backends/evm/EVMCodeTransform.h
+++ b/libyul/backends/evm/EVMCodeTransform.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Common code generator for translating Yul / inline assembly to EVM and EVM1.5.
*/
diff --git a/libyul/backends/evm/EVMDialect.cpp b/libyul/backends/evm/EVMDialect.cpp
index bf0c63bfa..4b9acb0c7 100644
--- a/libyul/backends/evm/EVMDialect.cpp
+++ b/libyul/backends/evm/EVMDialect.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Yul dialects for EVM.
*/
diff --git a/libyul/backends/evm/EVMDialect.h b/libyul/backends/evm/EVMDialect.h
index 68f0b7046..fe1c67a4a 100644
--- a/libyul/backends/evm/EVMDialect.h
+++ b/libyul/backends/evm/EVMDialect.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Yul dialects for EVM.
*/
diff --git a/libyul/backends/evm/EVMMetrics.cpp b/libyul/backends/evm/EVMMetrics.cpp
index f3508afb3..5fb6d863a 100644
--- a/libyul/backends/evm/EVMMetrics.cpp
+++ b/libyul/backends/evm/EVMMetrics.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Module providing metrics for the EVM optimizer.
*/
diff --git a/libyul/backends/evm/EVMMetrics.h b/libyul/backends/evm/EVMMetrics.h
index b6a23e3c8..63e0d3c8f 100644
--- a/libyul/backends/evm/EVMMetrics.h
+++ b/libyul/backends/evm/EVMMetrics.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Module providing metrics for the optimizer.
*/
diff --git a/libyul/backends/evm/EVMObjectCompiler.cpp b/libyul/backends/evm/EVMObjectCompiler.cpp
index 6463b4a46..98c209bf2 100644
--- a/libyul/backends/evm/EVMObjectCompiler.cpp
+++ b/libyul/backends/evm/EVMObjectCompiler.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Compiler that transforms Yul Objects to EVM bytecode objects.
*/
diff --git a/libyul/backends/evm/EVMObjectCompiler.h b/libyul/backends/evm/EVMObjectCompiler.h
index fb40ac739..74ea71ac6 100644
--- a/libyul/backends/evm/EVMObjectCompiler.h
+++ b/libyul/backends/evm/EVMObjectCompiler.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Compiler that transforms Yul Objects to EVM bytecode objects.
*/
diff --git a/libyul/backends/evm/NoOutputAssembly.cpp b/libyul/backends/evm/NoOutputAssembly.cpp
index ee280338d..0d840ef66 100644
--- a/libyul/backends/evm/NoOutputAssembly.cpp
+++ b/libyul/backends/evm/NoOutputAssembly.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Assembly interface that ignores everything. Can be used as a backend for a compilation dry-run.
*/
diff --git a/libyul/backends/evm/NoOutputAssembly.h b/libyul/backends/evm/NoOutputAssembly.h
index ec7e5f2ec..0ba4cf67b 100644
--- a/libyul/backends/evm/NoOutputAssembly.h
+++ b/libyul/backends/evm/NoOutputAssembly.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Assembly interface that ignores everything. Can be used as a backend for a compilation dry-run.
*/
diff --git a/libyul/backends/wasm/BinaryTransform.cpp b/libyul/backends/wasm/BinaryTransform.cpp
index 38438e12e..5746dfaaf 100644
--- a/libyul/backends/wasm/BinaryTransform.cpp
+++ b/libyul/backends/wasm/BinaryTransform.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that transforms internal Wasm representation to binary.
*/
diff --git a/libyul/backends/wasm/BinaryTransform.h b/libyul/backends/wasm/BinaryTransform.h
index c505fe2dc..348250546 100644
--- a/libyul/backends/wasm/BinaryTransform.h
+++ b/libyul/backends/wasm/BinaryTransform.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that transforms internal Wasm representation to binary.
*/
diff --git a/libyul/backends/wasm/EVMToEwasmTranslator.cpp b/libyul/backends/wasm/EVMToEwasmTranslator.cpp
index ebcdd961b..abb898828 100644
--- a/libyul/backends/wasm/EVMToEwasmTranslator.cpp
+++ b/libyul/backends/wasm/EVMToEwasmTranslator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Translates Yul code from EVM dialect to Ewasm dialect.
*/
diff --git a/libyul/backends/wasm/EVMToEwasmTranslator.h b/libyul/backends/wasm/EVMToEwasmTranslator.h
index 0bd86a317..ecb34ec11 100644
--- a/libyul/backends/wasm/EVMToEwasmTranslator.h
+++ b/libyul/backends/wasm/EVMToEwasmTranslator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Translates Yul code from EVM dialect to Ewasm dialect.
*/
diff --git a/libyul/backends/wasm/TextTransform.cpp b/libyul/backends/wasm/TextTransform.cpp
index ee2aa86e4..059f89600 100644
--- a/libyul/backends/wasm/TextTransform.cpp
+++ b/libyul/backends/wasm/TextTransform.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that transforms internal Wasm representation to text.
*/
diff --git a/libyul/backends/wasm/TextTransform.h b/libyul/backends/wasm/TextTransform.h
index b8b21f7f2..eb14da65d 100644
--- a/libyul/backends/wasm/TextTransform.h
+++ b/libyul/backends/wasm/TextTransform.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that transforms internal Wasm representation to text.
*/
diff --git a/libyul/backends/wasm/WasmAST.h b/libyul/backends/wasm/WasmAST.h
index b22b0db84..ced3b7bc6 100644
--- a/libyul/backends/wasm/WasmAST.h
+++ b/libyul/backends/wasm/WasmAST.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Simplified in-memory representation of a Wasm AST.
*/
diff --git a/libyul/backends/wasm/WasmCodeTransform.cpp b/libyul/backends/wasm/WasmCodeTransform.cpp
index 5171db1b1..de87028a9 100644
--- a/libyul/backends/wasm/WasmCodeTransform.cpp
+++ b/libyul/backends/wasm/WasmCodeTransform.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Common code generator for translating Yul / inline assembly to Wasm.
*/
diff --git a/libyul/backends/wasm/WasmCodeTransform.h b/libyul/backends/wasm/WasmCodeTransform.h
index 326778b3d..79d3552c6 100644
--- a/libyul/backends/wasm/WasmCodeTransform.h
+++ b/libyul/backends/wasm/WasmCodeTransform.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Common code generator for translating Yul / inline assembly to Wasm.
*/
diff --git a/libyul/backends/wasm/WasmDialect.cpp b/libyul/backends/wasm/WasmDialect.cpp
index 9dddddd69..edf113a13 100644
--- a/libyul/backends/wasm/WasmDialect.cpp
+++ b/libyul/backends/wasm/WasmDialect.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Dialects for Wasm.
*/
diff --git a/libyul/backends/wasm/WasmDialect.h b/libyul/backends/wasm/WasmDialect.h
index e5f3c9fc4..a718f0b74 100644
--- a/libyul/backends/wasm/WasmDialect.h
+++ b/libyul/backends/wasm/WasmDialect.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Dialects for Wasm.
*/
diff --git a/libyul/backends/wasm/WasmObjectCompiler.cpp b/libyul/backends/wasm/WasmObjectCompiler.cpp
index 52d485a7f..2b4f0c355 100644
--- a/libyul/backends/wasm/WasmObjectCompiler.cpp
+++ b/libyul/backends/wasm/WasmObjectCompiler.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Compiler that transforms Yul Objects to Wasm text and binary representation (Ewasm flavoured).
*/
diff --git a/libyul/backends/wasm/WasmObjectCompiler.h b/libyul/backends/wasm/WasmObjectCompiler.h
index c5932a976..52e48a9d5 100644
--- a/libyul/backends/wasm/WasmObjectCompiler.h
+++ b/libyul/backends/wasm/WasmObjectCompiler.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Compiler that transforms Yul Objects to Wasm text and binary representation (Ewasm flavoured).
*/
diff --git a/libyul/backends/wasm/WordSizeTransform.cpp b/libyul/backends/wasm/WordSizeTransform.cpp
index 473f7324f..73dda9d0c 100644
--- a/libyul/backends/wasm/WordSizeTransform.cpp
+++ b/libyul/backends/wasm/WordSizeTransform.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libyul/backends/wasm/WordSizeTransform.h b/libyul/backends/wasm/WordSizeTransform.h
index 5771afea8..1bf7dcaca 100644
--- a/libyul/backends/wasm/WordSizeTransform.h
+++ b/libyul/backends/wasm/WordSizeTransform.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Replace every u256 variable with four u64 variables.
*/
diff --git a/libyul/optimiser/ASTCopier.cpp b/libyul/optimiser/ASTCopier.cpp
index 16f257818..8dc08f6fa 100644
--- a/libyul/optimiser/ASTCopier.cpp
+++ b/libyul/optimiser/ASTCopier.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Creates an independent copy of an AST, renaming identifiers to be unique.
*/
diff --git a/libyul/optimiser/ASTCopier.h b/libyul/optimiser/ASTCopier.h
index 3a05d2ca3..8afb50d97 100644
--- a/libyul/optimiser/ASTCopier.h
+++ b/libyul/optimiser/ASTCopier.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Creates an independent copy of an AST, renaming identifiers to be unique.
*/
diff --git a/libyul/optimiser/ASTWalker.cpp b/libyul/optimiser/ASTWalker.cpp
index 728949a4e..057f94b88 100644
--- a/libyul/optimiser/ASTWalker.cpp
+++ b/libyul/optimiser/ASTWalker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Generic AST walker.
*/
diff --git a/libyul/optimiser/ASTWalker.h b/libyul/optimiser/ASTWalker.h
index 20f7fb9b4..c62be4844 100644
--- a/libyul/optimiser/ASTWalker.h
+++ b/libyul/optimiser/ASTWalker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Generic AST walker.
*/
diff --git a/libyul/optimiser/BlockFlattener.cpp b/libyul/optimiser/BlockFlattener.cpp
index 02e4c42f5..24f57594c 100644
--- a/libyul/optimiser/BlockFlattener.cpp
+++ b/libyul/optimiser/BlockFlattener.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/libyul/optimiser/BlockFlattener.h b/libyul/optimiser/BlockFlattener.h
index 31d3307d1..87a1af7cf 100644
--- a/libyul/optimiser/BlockFlattener.h
+++ b/libyul/optimiser/BlockFlattener.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/BlockHasher.cpp b/libyul/optimiser/BlockHasher.cpp
index 53d263f94..4fb199982 100644
--- a/libyul/optimiser/BlockHasher.cpp
+++ b/libyul/optimiser/BlockHasher.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that calculates hash values for block prefixes.
*/
diff --git a/libyul/optimiser/BlockHasher.h b/libyul/optimiser/BlockHasher.h
index 3b90f0c4d..36826e158 100644
--- a/libyul/optimiser/BlockHasher.h
+++ b/libyul/optimiser/BlockHasher.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that calculates hash values for blocks.
*/
diff --git a/libyul/optimiser/CallGraphGenerator.cpp b/libyul/optimiser/CallGraphGenerator.cpp
index 565518af0..85fb1c66c 100644
--- a/libyul/optimiser/CallGraphGenerator.cpp
+++ b/libyul/optimiser/CallGraphGenerator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Specific AST walker that generates the call graph.
*/
diff --git a/libyul/optimiser/CallGraphGenerator.h b/libyul/optimiser/CallGraphGenerator.h
index 2b57f8592..11224eeaa 100644
--- a/libyul/optimiser/CallGraphGenerator.h
+++ b/libyul/optimiser/CallGraphGenerator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Specific AST walker that generates the call graph.
*/
diff --git a/libyul/optimiser/CircularReferencesPruner.cpp b/libyul/optimiser/CircularReferencesPruner.cpp
index f9c849568..2fe6a1d80 100644
--- a/libyul/optimiser/CircularReferencesPruner.cpp
+++ b/libyul/optimiser/CircularReferencesPruner.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libyul/optimiser/CircularReferencesPruner.h b/libyul/optimiser/CircularReferencesPruner.h
index 2a51045d1..0602445af 100644
--- a/libyul/optimiser/CircularReferencesPruner.h
+++ b/libyul/optimiser/CircularReferencesPruner.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimization stage that removes functions that call each other but are
* otherwise unreferenced.
diff --git a/libyul/optimiser/CommonSubexpressionEliminator.h b/libyul/optimiser/CommonSubexpressionEliminator.h
index 04fc36a8c..f11de51a4 100644
--- a/libyul/optimiser/CommonSubexpressionEliminator.h
+++ b/libyul/optimiser/CommonSubexpressionEliminator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that replaces expressions known to be the current value of a variable
* in scope by a reference to that variable.
diff --git a/libyul/optimiser/ConditionalSimplifier.cpp b/libyul/optimiser/ConditionalSimplifier.cpp
index 453d2d9ce..f95ef830a 100644
--- a/libyul/optimiser/ConditionalSimplifier.cpp
+++ b/libyul/optimiser/ConditionalSimplifier.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/libyul/optimiser/ConditionalSimplifier.h b/libyul/optimiser/ConditionalSimplifier.h
index 18f8a74b2..9a48b813f 100644
--- a/libyul/optimiser/ConditionalSimplifier.h
+++ b/libyul/optimiser/ConditionalSimplifier.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/ConditionalUnsimplifier.cpp b/libyul/optimiser/ConditionalUnsimplifier.cpp
index f11079032..28bc11a0c 100644
--- a/libyul/optimiser/ConditionalUnsimplifier.cpp
+++ b/libyul/optimiser/ConditionalUnsimplifier.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/libyul/optimiser/ConditionalUnsimplifier.h b/libyul/optimiser/ConditionalUnsimplifier.h
index 116ab2536..975011b95 100644
--- a/libyul/optimiser/ConditionalUnsimplifier.h
+++ b/libyul/optimiser/ConditionalUnsimplifier.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/ControlFlowSimplifier.cpp b/libyul/optimiser/ControlFlowSimplifier.cpp
index 1d6b09615..044061d9d 100644
--- a/libyul/optimiser/ControlFlowSimplifier.cpp
+++ b/libyul/optimiser/ControlFlowSimplifier.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/libyul/optimiser/ControlFlowSimplifier.h b/libyul/optimiser/ControlFlowSimplifier.h
index f8ea1af1e..3ebbe7c9a 100644
--- a/libyul/optimiser/ControlFlowSimplifier.h
+++ b/libyul/optimiser/ControlFlowSimplifier.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/DataFlowAnalyzer.h b/libyul/optimiser/DataFlowAnalyzer.h
index d3cb8d280..237b48597 100644
--- a/libyul/optimiser/DataFlowAnalyzer.h
+++ b/libyul/optimiser/DataFlowAnalyzer.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Base class to perform data flow analysis during AST walks.
* Tracks assignments and is used as base class for both Rematerialiser and
diff --git a/libyul/optimiser/DeadCodeEliminator.cpp b/libyul/optimiser/DeadCodeEliminator.cpp
index 2416af514..1bb4f460d 100644
--- a/libyul/optimiser/DeadCodeEliminator.cpp
+++ b/libyul/optimiser/DeadCodeEliminator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that removes unreachable code.
*/
diff --git a/libyul/optimiser/DeadCodeEliminator.h b/libyul/optimiser/DeadCodeEliminator.h
index d1607b49e..d47bf86ea 100644
--- a/libyul/optimiser/DeadCodeEliminator.h
+++ b/libyul/optimiser/DeadCodeEliminator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that removes unused variables and functions.
*/
diff --git a/libyul/optimiser/Disambiguator.cpp b/libyul/optimiser/Disambiguator.cpp
index 50aa93599..2e20d4be2 100644
--- a/libyul/optimiser/Disambiguator.cpp
+++ b/libyul/optimiser/Disambiguator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that makes all identifiers unique.
*/
diff --git a/libyul/optimiser/Disambiguator.h b/libyul/optimiser/Disambiguator.h
index 997a9cf20..6d8a3775c 100644
--- a/libyul/optimiser/Disambiguator.h
+++ b/libyul/optimiser/Disambiguator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that makes all identifiers unique.
*/
diff --git a/libyul/optimiser/EquivalentFunctionCombiner.cpp b/libyul/optimiser/EquivalentFunctionCombiner.cpp
index d62768a25..8cea5d63e 100644
--- a/libyul/optimiser/EquivalentFunctionCombiner.cpp
+++ b/libyul/optimiser/EquivalentFunctionCombiner.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that combines syntactically equivalent functions.
*/
diff --git a/libyul/optimiser/EquivalentFunctionCombiner.h b/libyul/optimiser/EquivalentFunctionCombiner.h
index 19ddbd71f..d43fa3986 100644
--- a/libyul/optimiser/EquivalentFunctionCombiner.h
+++ b/libyul/optimiser/EquivalentFunctionCombiner.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that combines syntactically equivalent functions.
*/
diff --git a/libyul/optimiser/EquivalentFunctionDetector.cpp b/libyul/optimiser/EquivalentFunctionDetector.cpp
index 6c617a4e4..5c49ddb89 100644
--- a/libyul/optimiser/EquivalentFunctionDetector.cpp
+++ b/libyul/optimiser/EquivalentFunctionDetector.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that combines syntactically equivalent functions.
*/
diff --git a/libyul/optimiser/EquivalentFunctionDetector.h b/libyul/optimiser/EquivalentFunctionDetector.h
index 62825bcfa..107b355e6 100644
--- a/libyul/optimiser/EquivalentFunctionDetector.h
+++ b/libyul/optimiser/EquivalentFunctionDetector.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that combines syntactically equivalent functions.
*/
diff --git a/libyul/optimiser/ExpressionInliner.cpp b/libyul/optimiser/ExpressionInliner.cpp
index f17b594f3..ca29a5829 100644
--- a/libyul/optimiser/ExpressionInliner.cpp
+++ b/libyul/optimiser/ExpressionInliner.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that performs function inlining inside expressions.
*/
diff --git a/libyul/optimiser/ExpressionInliner.h b/libyul/optimiser/ExpressionInliner.h
index 92bdebffc..f3a8833df 100644
--- a/libyul/optimiser/ExpressionInliner.h
+++ b/libyul/optimiser/ExpressionInliner.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that performs function inlining.
*/
diff --git a/libyul/optimiser/ExpressionJoiner.cpp b/libyul/optimiser/ExpressionJoiner.cpp
index 45c23dcc3..fa9aac9ce 100644
--- a/libyul/optimiser/ExpressionJoiner.cpp
+++ b/libyul/optimiser/ExpressionJoiner.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that undoes what the ExpressionSplitter did, i.e.
* it more or less inlines variable declarations.
diff --git a/libyul/optimiser/ExpressionJoiner.h b/libyul/optimiser/ExpressionJoiner.h
index 709a822e7..db3217de0 100644
--- a/libyul/optimiser/ExpressionJoiner.h
+++ b/libyul/optimiser/ExpressionJoiner.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that undoes what the ExpressionSplitter did, i.e.
* it more or less inlines variable declarations.
diff --git a/libyul/optimiser/ExpressionSimplifier.cpp b/libyul/optimiser/ExpressionSimplifier.cpp
index da3056057..ec3a6eb78 100644
--- a/libyul/optimiser/ExpressionSimplifier.cpp
+++ b/libyul/optimiser/ExpressionSimplifier.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that uses the simplification rules to simplify expressions.
*/
diff --git a/libyul/optimiser/ExpressionSimplifier.h b/libyul/optimiser/ExpressionSimplifier.h
index ce83b4e1e..b8703e2a2 100644
--- a/libyul/optimiser/ExpressionSimplifier.h
+++ b/libyul/optimiser/ExpressionSimplifier.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that uses the simplification rules to simplify expressions.
*/
diff --git a/libyul/optimiser/ExpressionSplitter.cpp b/libyul/optimiser/ExpressionSplitter.cpp
index 30a5fd5e9..2c15b6eb5 100644
--- a/libyul/optimiser/ExpressionSplitter.cpp
+++ b/libyul/optimiser/ExpressionSplitter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that turns complex expressions into multiple variable
* declarations.
diff --git a/libyul/optimiser/ExpressionSplitter.h b/libyul/optimiser/ExpressionSplitter.h
index 107be2590..ebcdd7f6d 100644
--- a/libyul/optimiser/ExpressionSplitter.h
+++ b/libyul/optimiser/ExpressionSplitter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that turns complex expressions into multiple variable
* declarations.
diff --git a/libyul/optimiser/ForLoopConditionIntoBody.cpp b/libyul/optimiser/ForLoopConditionIntoBody.cpp
index 22c3e76dc..a5b907ce7 100644
--- a/libyul/optimiser/ForLoopConditionIntoBody.cpp
+++ b/libyul/optimiser/ForLoopConditionIntoBody.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libyul/optimiser/ForLoopConditionIntoBody.h b/libyul/optimiser/ForLoopConditionIntoBody.h
index 633403c96..2a9c92c23 100644
--- a/libyul/optimiser/ForLoopConditionIntoBody.h
+++ b/libyul/optimiser/ForLoopConditionIntoBody.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/ForLoopConditionOutOfBody.cpp b/libyul/optimiser/ForLoopConditionOutOfBody.cpp
index fc7d48d62..f13b417e8 100644
--- a/libyul/optimiser/ForLoopConditionOutOfBody.cpp
+++ b/libyul/optimiser/ForLoopConditionOutOfBody.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libyul/optimiser/ForLoopConditionOutOfBody.h b/libyul/optimiser/ForLoopConditionOutOfBody.h
index b5f8c8d02..ba3b7eb18 100644
--- a/libyul/optimiser/ForLoopConditionOutOfBody.h
+++ b/libyul/optimiser/ForLoopConditionOutOfBody.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/ForLoopInitRewriter.cpp b/libyul/optimiser/ForLoopInitRewriter.cpp
index 163a999cd..62d520199 100644
--- a/libyul/optimiser/ForLoopInitRewriter.cpp
+++ b/libyul/optimiser/ForLoopInitRewriter.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/libyul/optimiser/ForLoopInitRewriter.h b/libyul/optimiser/ForLoopInitRewriter.h
index e2143ca61..96ae0cca7 100644
--- a/libyul/optimiser/ForLoopInitRewriter.h
+++ b/libyul/optimiser/ForLoopInitRewriter.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/FullInliner.cpp b/libyul/optimiser/FullInliner.cpp
index a0c80533d..2e9dd1e05 100644
--- a/libyul/optimiser/FullInliner.cpp
+++ b/libyul/optimiser/FullInliner.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that performs function inlining for arbitrary functions.
*/
diff --git a/libyul/optimiser/FullInliner.h b/libyul/optimiser/FullInliner.h
index 1c1ad0d95..8092e478e 100644
--- a/libyul/optimiser/FullInliner.h
+++ b/libyul/optimiser/FullInliner.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that performs function inlining for arbitrary functions.
*/
diff --git a/libyul/optimiser/FunctionGrouper.cpp b/libyul/optimiser/FunctionGrouper.cpp
index 60a1fa013..86d59dd53 100644
--- a/libyul/optimiser/FunctionGrouper.cpp
+++ b/libyul/optimiser/FunctionGrouper.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that changes the code of a block so that all non-function definition
* statements are moved to a block of their own followed by all function definitions.
diff --git a/libyul/optimiser/FunctionGrouper.h b/libyul/optimiser/FunctionGrouper.h
index ef3619893..0bfbb2f06 100644
--- a/libyul/optimiser/FunctionGrouper.h
+++ b/libyul/optimiser/FunctionGrouper.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that changes the code of a black so that all non-function definition
* instructions are moved to a block of their own followed by all function definitions.
diff --git a/libyul/optimiser/FunctionHoister.cpp b/libyul/optimiser/FunctionHoister.cpp
index 303cf1fb3..a02feeda8 100644
--- a/libyul/optimiser/FunctionHoister.cpp
+++ b/libyul/optimiser/FunctionHoister.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that changes the code so that it consists of a block starting with
* a single block followed only by function definitions and with no functions defined
diff --git a/libyul/optimiser/FunctionHoister.h b/libyul/optimiser/FunctionHoister.h
index 7106c03a4..39e692c8a 100644
--- a/libyul/optimiser/FunctionHoister.h
+++ b/libyul/optimiser/FunctionHoister.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that changes the code so that all function definitions are at the top
* level block.
diff --git a/libyul/optimiser/InlinableExpressionFunctionFinder.cpp b/libyul/optimiser/InlinableExpressionFunctionFinder.cpp
index c9a1f084b..c7830d480 100644
--- a/libyul/optimiser/InlinableExpressionFunctionFinder.cpp
+++ b/libyul/optimiser/InlinableExpressionFunctionFinder.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that identifies functions to be inlined.
*/
diff --git a/libyul/optimiser/InlinableExpressionFunctionFinder.h b/libyul/optimiser/InlinableExpressionFunctionFinder.h
index 0583107d1..3c0b768e6 100644
--- a/libyul/optimiser/InlinableExpressionFunctionFinder.h
+++ b/libyul/optimiser/InlinableExpressionFunctionFinder.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that identifies functions to be inlined.
*/
diff --git a/libyul/optimiser/KnowledgeBase.cpp b/libyul/optimiser/KnowledgeBase.cpp
index c68085420..0692d0c06 100644
--- a/libyul/optimiser/KnowledgeBase.cpp
+++ b/libyul/optimiser/KnowledgeBase.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Class that can answer questions about values of variables and their relations.
*/
diff --git a/libyul/optimiser/KnowledgeBase.h b/libyul/optimiser/KnowledgeBase.h
index 8d7bcdd90..7d4cdfb6b 100644
--- a/libyul/optimiser/KnowledgeBase.h
+++ b/libyul/optimiser/KnowledgeBase.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Class that can answer questions about values of variables and their relations.
*/
diff --git a/libyul/optimiser/LoadResolver.cpp b/libyul/optimiser/LoadResolver.cpp
index 4d40281ec..7635f9d61 100644
--- a/libyul/optimiser/LoadResolver.cpp
+++ b/libyul/optimiser/LoadResolver.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that replaces expressions of type ``sload(x)`` by the value
* currently stored in storage, if known.
diff --git a/libyul/optimiser/LoadResolver.h b/libyul/optimiser/LoadResolver.h
index f2d11ed2a..00579e95f 100644
--- a/libyul/optimiser/LoadResolver.h
+++ b/libyul/optimiser/LoadResolver.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that replaces expressions of type ``sload(x)`` by the value
* currently stored in storage, if known.
diff --git a/libyul/optimiser/LoopInvariantCodeMotion.cpp b/libyul/optimiser/LoopInvariantCodeMotion.cpp
index b7d7874c2..9a81e5fc8 100644
--- a/libyul/optimiser/LoopInvariantCodeMotion.cpp
+++ b/libyul/optimiser/LoopInvariantCodeMotion.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/libyul/optimiser/LoopInvariantCodeMotion.h b/libyul/optimiser/LoopInvariantCodeMotion.h
index 7b7bd6c88..a3bf1784f 100644
--- a/libyul/optimiser/LoopInvariantCodeMotion.h
+++ b/libyul/optimiser/LoopInvariantCodeMotion.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/MainFunction.cpp b/libyul/optimiser/MainFunction.cpp
index e91cadb4d..83968651d 100644
--- a/libyul/optimiser/MainFunction.cpp
+++ b/libyul/optimiser/MainFunction.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Changes the topmost block to be a function with a specific name ("main") which has no
* inputs nor outputs.
diff --git a/libyul/optimiser/MainFunction.h b/libyul/optimiser/MainFunction.h
index 771624bef..92781f81c 100644
--- a/libyul/optimiser/MainFunction.h
+++ b/libyul/optimiser/MainFunction.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Changes the topmost block to be a function with a specific name ("main") which has no
* inputs nor outputs.
diff --git a/libyul/optimiser/Metrics.h b/libyul/optimiser/Metrics.h
index 19ca5616f..5aa8dbe4b 100644
--- a/libyul/optimiser/Metrics.h
+++ b/libyul/optimiser/Metrics.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Module providing metrics for the optimizer.
*/
diff --git a/libyul/optimiser/NameCollector.cpp b/libyul/optimiser/NameCollector.cpp
index f9bb40bf4..5c6f2ab79 100644
--- a/libyul/optimiser/NameCollector.cpp
+++ b/libyul/optimiser/NameCollector.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Specific AST walker that collects all defined names.
*/
diff --git a/libyul/optimiser/NameCollector.h b/libyul/optimiser/NameCollector.h
index a48aa1a3b..0bedab3f8 100644
--- a/libyul/optimiser/NameCollector.h
+++ b/libyul/optimiser/NameCollector.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Specific AST walkers that collect facts about identifiers and definitions.
*/
diff --git a/libyul/optimiser/NameDispenser.cpp b/libyul/optimiser/NameDispenser.cpp
index fb1c1dd1c..cfc7fdcb9 100644
--- a/libyul/optimiser/NameDispenser.cpp
+++ b/libyul/optimiser/NameDispenser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that can create new unique names.
*/
diff --git a/libyul/optimiser/NameDispenser.h b/libyul/optimiser/NameDispenser.h
index 372e4bd2c..1ef8c92e7 100644
--- a/libyul/optimiser/NameDispenser.h
+++ b/libyul/optimiser/NameDispenser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that can create new unique names.
*/
diff --git a/libyul/optimiser/NameDisplacer.cpp b/libyul/optimiser/NameDisplacer.cpp
index 052b011ef..81248819c 100644
--- a/libyul/optimiser/NameDisplacer.cpp
+++ b/libyul/optimiser/NameDisplacer.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that renames identifiers to free up certain names.
*/
diff --git a/libyul/optimiser/NameDisplacer.h b/libyul/optimiser/NameDisplacer.h
index ba61cbf9d..d1b3e4363 100644
--- a/libyul/optimiser/NameDisplacer.h
+++ b/libyul/optimiser/NameDisplacer.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that renames identifiers to free up certain names.
*/
diff --git a/libyul/optimiser/OptimiserStep.h b/libyul/optimiser/OptimiserStep.h
index ebad29551..3da161957 100644
--- a/libyul/optimiser/OptimiserStep.h
+++ b/libyul/optimiser/OptimiserStep.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libyul/optimiser/OptimizerUtilities.cpp b/libyul/optimiser/OptimizerUtilities.cpp
index 132301696..3cb66d689 100644
--- a/libyul/optimiser/OptimizerUtilities.cpp
+++ b/libyul/optimiser/OptimizerUtilities.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Some useful snippets for the optimiser.
*/
diff --git a/libyul/optimiser/OptimizerUtilities.h b/libyul/optimiser/OptimizerUtilities.h
index 01bb7dae6..61d970877 100644
--- a/libyul/optimiser/OptimizerUtilities.h
+++ b/libyul/optimiser/OptimizerUtilities.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Small useful snippets for the optimiser.
*/
diff --git a/libyul/optimiser/RedundantAssignEliminator.cpp b/libyul/optimiser/RedundantAssignEliminator.cpp
index 5d1d0557b..170cf1d79 100644
--- a/libyul/optimiser/RedundantAssignEliminator.cpp
+++ b/libyul/optimiser/RedundantAssignEliminator.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that removes assignments to variables that are not used
* until they go out of scope or are re-assigned.
diff --git a/libyul/optimiser/RedundantAssignEliminator.h b/libyul/optimiser/RedundantAssignEliminator.h
index 3d61e84fb..81e977e8d 100644
--- a/libyul/optimiser/RedundantAssignEliminator.h
+++ b/libyul/optimiser/RedundantAssignEliminator.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that removes assignments to variables that are not used
* until they go out of scope or are re-assigned.
diff --git a/libyul/optimiser/Rematerialiser.h b/libyul/optimiser/Rematerialiser.h
index 1316f0373..b7e98a6b8 100644
--- a/libyul/optimiser/Rematerialiser.h
+++ b/libyul/optimiser/Rematerialiser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that replaces variables by their most recently assigned expressions.
*/
diff --git a/libyul/optimiser/SSAReverser.cpp b/libyul/optimiser/SSAReverser.cpp
index a4373fb66..decdc4ea4 100644
--- a/libyul/optimiser/SSAReverser.cpp
+++ b/libyul/optimiser/SSAReverser.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/libyul/optimiser/SSAReverser.h b/libyul/optimiser/SSAReverser.h
index 0a6e0e1b0..bb6e98bc8 100644
--- a/libyul/optimiser/SSAReverser.h
+++ b/libyul/optimiser/SSAReverser.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/SSATransform.cpp b/libyul/optimiser/SSATransform.cpp
index 21165cd47..332b7af1d 100644
--- a/libyul/optimiser/SSATransform.cpp
+++ b/libyul/optimiser/SSATransform.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that turns subsequent assignments to variable declarations
* and assignments.
diff --git a/libyul/optimiser/SSATransform.h b/libyul/optimiser/SSATransform.h
index 201b1981a..74e52b62a 100644
--- a/libyul/optimiser/SSATransform.h
+++ b/libyul/optimiser/SSATransform.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser component that turns subsequent assignments to variable declarations
* and assignments.
diff --git a/libyul/optimiser/SSAValueTracker.cpp b/libyul/optimiser/SSAValueTracker.cpp
index ec898ad3c..452123447 100644
--- a/libyul/optimiser/SSAValueTracker.cpp
+++ b/libyul/optimiser/SSAValueTracker.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that collects variables that are never assigned to and their
* initial values.
diff --git a/libyul/optimiser/SSAValueTracker.h b/libyul/optimiser/SSAValueTracker.h
index 24f480947..f206cab5e 100644
--- a/libyul/optimiser/SSAValueTracker.h
+++ b/libyul/optimiser/SSAValueTracker.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that collects variables that are never assigned to and their
* initial values.
diff --git a/libyul/optimiser/Semantics.cpp b/libyul/optimiser/Semantics.cpp
index 6100b1cdc..4a7b8db12 100644
--- a/libyul/optimiser/Semantics.cpp
+++ b/libyul/optimiser/Semantics.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Specific AST walkers that collect semantical facts.
*/
diff --git a/libyul/optimiser/Semantics.h b/libyul/optimiser/Semantics.h
index 46d2984ca..a4f7b8102 100644
--- a/libyul/optimiser/Semantics.h
+++ b/libyul/optimiser/Semantics.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Specific AST walkers that collect semantical facts.
*/
diff --git a/libyul/optimiser/SimplificationRules.cpp b/libyul/optimiser/SimplificationRules.cpp
index 7a9b6576a..2fe5de3e5 100644
--- a/libyul/optimiser/SimplificationRules.cpp
+++ b/libyul/optimiser/SimplificationRules.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Module for applying replacement rules against Expressions.
*/
diff --git a/libyul/optimiser/SimplificationRules.h b/libyul/optimiser/SimplificationRules.h
index b897ed492..05e4e0d59 100644
--- a/libyul/optimiser/SimplificationRules.h
+++ b/libyul/optimiser/SimplificationRules.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Module for applying replacement rules against Expressions.
*/
diff --git a/libyul/optimiser/StackCompressor.h b/libyul/optimiser/StackCompressor.h
index 6c9f1ff9a..f10a6ba17 100644
--- a/libyul/optimiser/StackCompressor.h
+++ b/libyul/optimiser/StackCompressor.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that aggressively rematerializes certain variables ina a function to free
* space on the stack until it is compilable.
diff --git a/libyul/optimiser/StructuralSimplifier.cpp b/libyul/optimiser/StructuralSimplifier.cpp
index 0d5da95c1..09fe9ca1f 100644
--- a/libyul/optimiser/StructuralSimplifier.cpp
+++ b/libyul/optimiser/StructuralSimplifier.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
#include
diff --git a/libyul/optimiser/StructuralSimplifier.h b/libyul/optimiser/StructuralSimplifier.h
index 8b9df5beb..3fd59efde 100644
--- a/libyul/optimiser/StructuralSimplifier.h
+++ b/libyul/optimiser/StructuralSimplifier.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
#include
diff --git a/libyul/optimiser/Substitution.cpp b/libyul/optimiser/Substitution.cpp
index 6a0dc4800..ee2323577 100644
--- a/libyul/optimiser/Substitution.cpp
+++ b/libyul/optimiser/Substitution.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Specific AST copier that replaces certain identifiers with expressions.
*/
diff --git a/libyul/optimiser/Substitution.h b/libyul/optimiser/Substitution.h
index 369754fea..f76dcc72e 100644
--- a/libyul/optimiser/Substitution.h
+++ b/libyul/optimiser/Substitution.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Specific AST copier that replaces certain identifiers with expressions.
*/
diff --git a/libyul/optimiser/Suite.cpp b/libyul/optimiser/Suite.cpp
index 9f2511e72..a12ecd194 100644
--- a/libyul/optimiser/Suite.cpp
+++ b/libyul/optimiser/Suite.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser suite that combines all steps and also provides the settings for the heuristics.
*/
diff --git a/libyul/optimiser/Suite.h b/libyul/optimiser/Suite.h
index 790b2f9ad..affbd37c0 100644
--- a/libyul/optimiser/Suite.h
+++ b/libyul/optimiser/Suite.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimiser suite that combines all steps and also provides the settings for the heuristics.
*/
diff --git a/libyul/optimiser/SyntacticalEquality.h b/libyul/optimiser/SyntacticalEquality.h
index 7cf5dc24a..774a223cc 100644
--- a/libyul/optimiser/SyntacticalEquality.h
+++ b/libyul/optimiser/SyntacticalEquality.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Component that can compare ASTs for equality on a syntactic basis.
*/
diff --git a/libyul/optimiser/TypeInfo.cpp b/libyul/optimiser/TypeInfo.cpp
index adb6e1cce..740856c72 100644
--- a/libyul/optimiser/TypeInfo.cpp
+++ b/libyul/optimiser/TypeInfo.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Helper class that keeps track of the types while performing optimizations.
*/
diff --git a/libyul/optimiser/TypeInfo.h b/libyul/optimiser/TypeInfo.h
index 48c6c1fba..f458cbe44 100644
--- a/libyul/optimiser/TypeInfo.h
+++ b/libyul/optimiser/TypeInfo.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Helper class that keeps track of the types while performing optimizations.
*/
diff --git a/libyul/optimiser/UnusedPruner.h b/libyul/optimiser/UnusedPruner.h
index 837088059..af77d911a 100644
--- a/libyul/optimiser/UnusedPruner.h
+++ b/libyul/optimiser/UnusedPruner.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* Optimisation stage that removes unused variables and functions.
*/
diff --git a/libyul/optimiser/VarDeclInitializer.cpp b/libyul/optimiser/VarDeclInitializer.cpp
index 66c5b4505..ca6c89feb 100644
--- a/libyul/optimiser/VarDeclInitializer.cpp
+++ b/libyul/optimiser/VarDeclInitializer.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libyul/optimiser/VarDeclInitializer.h b/libyul/optimiser/VarDeclInitializer.h
index 75bb1493c..3d2d51c34 100644
--- a/libyul/optimiser/VarDeclInitializer.h
+++ b/libyul/optimiser/VarDeclInitializer.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/libyul/optimiser/VarNameCleaner.cpp b/libyul/optimiser/VarNameCleaner.cpp
index f9b9e7899..15d215f2c 100644
--- a/libyul/optimiser/VarNameCleaner.cpp
+++ b/libyul/optimiser/VarNameCleaner.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/libyul/optimiser/VarNameCleaner.h b/libyul/optimiser/VarNameCleaner.h
index 911f67ca6..2c26cc7a6 100644
--- a/libyul/optimiser/VarNameCleaner.h
+++ b/libyul/optimiser/VarNameCleaner.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp
index 3bd374676..412d7f094 100644
--- a/solc/CommandLineInterface.cpp
+++ b/solc/CommandLineInterface.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Lefteris
* @author Gav Wood
diff --git a/solc/CommandLineInterface.h b/solc/CommandLineInterface.h
index 1aed72821..e79d81406 100644
--- a/solc/CommandLineInterface.h
+++ b/solc/CommandLineInterface.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Lefteris
* @date 2014
diff --git a/solc/main.cpp b/solc/main.cpp
index 5307e40ad..ae56066ed 100644
--- a/solc/main.cpp
+++ b/solc/main.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/test/Common.cpp b/test/Common.cpp
index 69bfd21ee..b56cb3257 100644
--- a/test/Common.cpp
+++ b/test/Common.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/test/Common.h b/test/Common.h
index 119050f39..eaad7f0ba 100644
--- a/test/Common.h
+++ b/test/Common.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/test/CommonSyntaxTest.cpp b/test/CommonSyntaxTest.cpp
index ff99d6e24..34ddf719e 100644
--- a/test/CommonSyntaxTest.cpp
+++ b/test/CommonSyntaxTest.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/test/CommonSyntaxTest.h b/test/CommonSyntaxTest.h
index df165ea1a..db3a6e50c 100644
--- a/test/CommonSyntaxTest.h
+++ b/test/CommonSyntaxTest.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/test/EVMHost.cpp b/test/EVMHost.cpp
index 108dae4f1..51dc83352 100644
--- a/test/EVMHost.cpp
+++ b/test/EVMHost.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* EVM execution host, i.e. component that implements a simulated Ethereum blockchain
* for testing purposes.
diff --git a/test/EVMHost.h b/test/EVMHost.h
index 1e3540012..af38426be 100644
--- a/test/EVMHost.h
+++ b/test/EVMHost.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* EVM execution host, i.e. component that implements a simulated Ethereum blockchain
* for testing purposes.
diff --git a/test/ExecutionFramework.cpp b/test/ExecutionFramework.cpp
index ebe63b265..b3841f6b4 100644
--- a/test/ExecutionFramework.cpp
+++ b/test/ExecutionFramework.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2016
diff --git a/test/ExecutionFramework.h b/test/ExecutionFramework.h
index 6fea5310a..56321a119 100644
--- a/test/ExecutionFramework.h
+++ b/test/ExecutionFramework.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @author Christian
* @date 2014
diff --git a/test/InteractiveTests.h b/test/InteractiveTests.h
index 4e8365796..46d8a2973 100644
--- a/test/InteractiveTests.h
+++ b/test/InteractiveTests.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/test/Metadata.cpp b/test/Metadata.cpp
index cb5892b8a..f70b8ea5f 100644
--- a/test/Metadata.cpp
+++ b/test/Metadata.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2017
* Metadata processing helpers.
diff --git a/test/Metadata.h b/test/Metadata.h
index f032f1d1f..c91ceb559 100644
--- a/test/Metadata.h
+++ b/test/Metadata.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
/**
* @date 2017
* Metadata processing helpers.
diff --git a/test/TestCase.cpp b/test/TestCase.cpp
index e6f4b212a..7cf5c790e 100644
--- a/test/TestCase.cpp
+++ b/test/TestCase.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include
diff --git a/test/TestCase.h b/test/TestCase.h
index f846b7f87..1815409fe 100644
--- a/test/TestCase.h
+++ b/test/TestCase.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#pragma once
diff --git a/test/TestCaseReader.cpp b/test/TestCaseReader.cpp
index 2f90678ed..7b3611d82 100644
--- a/test/TestCaseReader.cpp
+++ b/test/TestCaseReader.cpp
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
diff --git a/test/TestCaseReader.h b/test/TestCaseReader.h
index 9f94f898d..720c26338 100644
--- a/test/TestCaseReader.h
+++ b/test/TestCaseReader.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU General Public License
along with solidity. If not, see .
*/
+// SPDX-License-Identifier: GPL-3.0
#include
#include