Skip to content

Commit b7adb2a

Browse files
committed
Add SPDX license identifier if not present already in source file
Fixes: ethereum#9220
1 parent d808302 commit b7adb2a

File tree

569 files changed

+569
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

569 files changed

+569
-0
lines changed

libevmasm/Assembly.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file Assembly.cpp
1819
* @author Gav Wood <[email protected]>
1920
* @date 2014

libevmasm/Assembly.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718

1819
#pragma once
1920

libevmasm/AssemblyItem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718

1819
#include <libevmasm/AssemblyItem.h>
1920

libevmasm/AssemblyItem.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file AssemblyItem.h
1819
* @author Gav Wood <[email protected]>
1920
* @date 2014

libevmasm/BlockDeduplicator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file BlockDeduplicator.cpp
1920
* @author Christian <[email protected]>

libevmasm/BlockDeduplicator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file BlockDeduplicator.h
1920
* @author Christian <[email protected]>

libevmasm/CommonSubexpressionEliminator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file CommonSubexpressionEliminator.cpp
1920
* @author Christian <[email protected]>

libevmasm/CommonSubexpressionEliminator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file CommonSubexpressionEliminator.h
1920
* @author Christian <[email protected]>

libevmasm/ConstantOptimiser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file ConstantOptimiser.cpp
1819
* @author Christian <[email protected]>
1920
* @date 2015

libevmasm/ConstantOptimiser.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file ConstantOptimiser.cpp
1819
* @author Christian <[email protected]>
1920
* @date 2015

libevmasm/ControlFlowGraph.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file ControlFlowGraph.cpp
1920
* @author Christian <[email protected]>

libevmasm/ControlFlowGraph.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file ControlFlowGraph.h
1920
* @author Christian <[email protected]>

libevmasm/Exceptions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file Exceptions.h
1819
* @author Christian <[email protected]>
1920
* @date 2014

libevmasm/ExpressionClasses.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file ExpressionClasses.cpp
1920
* @author Christian <[email protected]>

libevmasm/ExpressionClasses.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file ExpressionClasses.h
1920
* @author Christian <[email protected]>

libevmasm/GasMeter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718

1819
#include <libevmasm/GasMeter.h>
1920

libevmasm/GasMeter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file GasMeter.cpp
1819
* @author Christian <[email protected]>
1920
* @date 2015

libevmasm/Instruction.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file Instruction.cpp
1819
* @author Gav Wood <[email protected]>
1920
* @date 2014

libevmasm/Instruction.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file Instruction.h
1819
* @author Gav Wood <[email protected]>
1920
* @date 2014

libevmasm/JumpdestRemover.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Alex Beregszaszi
1920
* Removes unused JUMPDESTs.

libevmasm/JumpdestRemover.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Alex Beregszaszi
1920
* Removes unused JUMPDESTs.

libevmasm/KnownState.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file KnownState.cpp
1920
* @author Christian <[email protected]>

libevmasm/KnownState.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file KnownState.h
1920
* @author Christian <[email protected]>

libevmasm/LinkerObject.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file LinkerObject.cpp
1819
* @author Christian R <[email protected]>
1920
* @date 2015

libevmasm/LinkerObject.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file Assembly.h
1819
* @author Gav Wood <[email protected]>
1920
* @date 2014

libevmasm/PathGasMeter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file PathGasMeter.cpp
1819
* @author Christian <[email protected]>
1920
* @date 2015

libevmasm/PathGasMeter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/** @file PathGasMeter.cpp
1819
* @author Christian <[email protected]>
1920
* @date 2015

libevmasm/PeepholeOptimiser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file PeepholeOptimiser.cpp
1920
* Performs local optimising code changes to assembly.

libevmasm/PeepholeOptimiser.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file PeepholeOptimiser.h
1920
* Performs local optimising code changes to assembly.

libevmasm/RuleList.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @date 2018
1920
* Templatized list of simplification rules.

libevmasm/SemanticInformation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file SemanticInformation.cpp
1920
* @author Christian <[email protected]>

libevmasm/SemanticInformation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file SemanticInformation.h
1920
* @author Christian <[email protected]>

libevmasm/SimplificationRule.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* Expression simplification pattern.
1920
*/

libevmasm/SimplificationRules.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file ExpressionClasses.cpp
1920
* @author Christian <[email protected]>

libevmasm/SimplificationRules.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @file SimplificationRules
1920
* @author Christian <[email protected]>

liblangutil/EVMVersion.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* EVM versioning.
1920
*/

liblangutil/EVMVersion.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* EVM versioning.
1920
*/

liblangutil/ErrorReporter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Rhett <[email protected]>
1920
* @date 2017

liblangutil/ErrorReporter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Rhett <[email protected]>
1920
* @date 2017

liblangutil/Exceptions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Liana <[email protected]>
1920
* @date 2015

liblangutil/Exceptions.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Christian <[email protected]>
1920
* @date 2014

liblangutil/ParserBase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Christian <[email protected]>
1920
* @date 2016

liblangutil/ParserBase.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Christian <[email protected]>
1920
* @date 2016

liblangutil/SemVerHandler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Christian <[email protected]>
1920
* @date 2016

liblangutil/SemVerHandler.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Christian <[email protected]>
1920
* @date 2016

liblangutil/SourceLocation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718

1819
#include <liblangutil/Exceptions.h>
1920

liblangutil/SourceLocation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Lefteris Karapetsas <[email protected]>
1920
* @date 2015

liblangutil/SourceReferenceExtractor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
#include <liblangutil/SourceReferenceExtractor.h>
1819
#include <liblangutil/CharStream.h>
1920
#include <liblangutil/Exceptions.h>

liblangutil/SourceReferenceExtractor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
#pragma once
1819

1920
#include <liblangutil/Exceptions.h>

liblangutil/SourceReferenceFormatter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
You should have received a copy of the GNU General Public License
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
17+
// SPDX-License-Identifier: GPL-3.0
1718
/**
1819
* @author Christian <[email protected]>
1920
* @date 2014

0 commit comments

Comments
 (0)