From b7adb2aa424cdec2ff0d51042dcf5aa7cadb3e3e Mon Sep 17 00:00:00 2001 From: Sachin Grover Date: Fri, 17 Jul 2020 20:24:12 +0530 Subject: [PATCH] Add SPDX license identifier if not present already in source file Fixes: #9220 --- libevmasm/Assembly.cpp | 1 + libevmasm/Assembly.h | 1 + libevmasm/AssemblyItem.cpp | 1 + libevmasm/AssemblyItem.h | 1 + libevmasm/BlockDeduplicator.cpp | 1 + libevmasm/BlockDeduplicator.h | 1 + libevmasm/CommonSubexpressionEliminator.cpp | 1 + libevmasm/CommonSubexpressionEliminator.h | 1 + libevmasm/ConstantOptimiser.cpp | 1 + libevmasm/ConstantOptimiser.h | 1 + libevmasm/ControlFlowGraph.cpp | 1 + libevmasm/ControlFlowGraph.h | 1 + libevmasm/Exceptions.h | 1 + libevmasm/ExpressionClasses.cpp | 1 + libevmasm/ExpressionClasses.h | 1 + libevmasm/GasMeter.cpp | 1 + libevmasm/GasMeter.h | 1 + libevmasm/Instruction.cpp | 1 + libevmasm/Instruction.h | 1 + libevmasm/JumpdestRemover.cpp | 1 + libevmasm/JumpdestRemover.h | 1 + libevmasm/KnownState.cpp | 1 + libevmasm/KnownState.h | 1 + libevmasm/LinkerObject.cpp | 1 + libevmasm/LinkerObject.h | 1 + libevmasm/PathGasMeter.cpp | 1 + libevmasm/PathGasMeter.h | 1 + libevmasm/PeepholeOptimiser.cpp | 1 + libevmasm/PeepholeOptimiser.h | 1 + libevmasm/RuleList.h | 1 + libevmasm/SemanticInformation.cpp | 1 + libevmasm/SemanticInformation.h | 1 + libevmasm/SimplificationRule.h | 1 + libevmasm/SimplificationRules.cpp | 1 + libevmasm/SimplificationRules.h | 1 + liblangutil/EVMVersion.cpp | 1 + liblangutil/EVMVersion.h | 1 + liblangutil/ErrorReporter.cpp | 1 + liblangutil/ErrorReporter.h | 1 + liblangutil/Exceptions.cpp | 1 + liblangutil/Exceptions.h | 1 + liblangutil/ParserBase.cpp | 1 + liblangutil/ParserBase.h | 1 + liblangutil/SemVerHandler.cpp | 1 + liblangutil/SemVerHandler.h | 1 + liblangutil/SourceLocation.cpp | 1 + liblangutil/SourceLocation.h | 1 + liblangutil/SourceReferenceExtractor.cpp | 1 + liblangutil/SourceReferenceExtractor.h | 1 + liblangutil/SourceReferenceFormatter.cpp | 1 + liblangutil/SourceReferenceFormatter.h | 1 + liblangutil/SourceReferenceFormatterHuman.cpp | 1 + liblangutil/SourceReferenceFormatterHuman.h | 1 + liblangutil/UndefMacros.h | 1 + libsmtutil/CHCSmtLib2Interface.cpp | 1 + libsmtutil/CHCSmtLib2Interface.h | 1 + libsmtutil/CHCSolverInterface.h | 1 + libsmtutil/CVC4Interface.cpp | 1 + libsmtutil/CVC4Interface.h | 1 + libsmtutil/Exceptions.h | 1 + libsmtutil/SMTLib2Interface.cpp | 1 + libsmtutil/SMTLib2Interface.h | 1 + libsmtutil/SMTPortfolio.cpp | 1 + libsmtutil/SMTPortfolio.h | 1 + libsmtutil/SolverInterface.h | 1 + libsmtutil/Sorts.cpp | 1 + libsmtutil/Sorts.h | 1 + libsmtutil/Z3CHCInterface.cpp | 1 + libsmtutil/Z3CHCInterface.h | 1 + libsmtutil/Z3Interface.cpp | 1 + libsmtutil/Z3Interface.h | 1 + libsolc/libsolc.cpp | 1 + libsolc/libsolc.h | 1 + libsolidity/analysis/ConstantEvaluator.cpp | 1 + libsolidity/analysis/ConstantEvaluator.h | 1 + libsolidity/analysis/ContractLevelChecker.cpp | 1 + libsolidity/analysis/ContractLevelChecker.h | 1 + libsolidity/analysis/ControlFlowAnalyzer.cpp | 1 + libsolidity/analysis/ControlFlowAnalyzer.h | 1 + libsolidity/analysis/ControlFlowBuilder.cpp | 1 + libsolidity/analysis/ControlFlowBuilder.h | 1 + libsolidity/analysis/ControlFlowGraph.cpp | 1 + libsolidity/analysis/ControlFlowGraph.h | 1 + libsolidity/analysis/DeclarationContainer.cpp | 1 + libsolidity/analysis/DeclarationContainer.h | 1 + libsolidity/analysis/DeclarationTypeChecker.cpp | 1 + libsolidity/analysis/DeclarationTypeChecker.h | 1 + libsolidity/analysis/DocStringAnalyser.cpp | 1 + libsolidity/analysis/DocStringAnalyser.h | 1 + libsolidity/analysis/GlobalContext.cpp | 1 + libsolidity/analysis/GlobalContext.h | 1 + libsolidity/analysis/ImmutableValidator.cpp | 1 + libsolidity/analysis/ImmutableValidator.h | 1 + libsolidity/analysis/NameAndTypeResolver.cpp | 1 + libsolidity/analysis/NameAndTypeResolver.h | 1 + libsolidity/analysis/OverrideChecker.cpp | 1 + libsolidity/analysis/OverrideChecker.h | 1 + libsolidity/analysis/PostTypeChecker.cpp | 1 + libsolidity/analysis/PostTypeChecker.h | 1 + libsolidity/analysis/ReferencesResolver.cpp | 1 + libsolidity/analysis/ReferencesResolver.h | 1 + libsolidity/analysis/StaticAnalyzer.cpp | 1 + libsolidity/analysis/StaticAnalyzer.h | 1 + libsolidity/analysis/SyntaxChecker.cpp | 1 + libsolidity/analysis/SyntaxChecker.h | 1 + libsolidity/analysis/TypeChecker.cpp | 1 + libsolidity/analysis/TypeChecker.h | 1 + libsolidity/analysis/ViewPureChecker.cpp | 1 + libsolidity/analysis/ViewPureChecker.h | 1 + libsolidity/ast/AST.cpp | 1 + libsolidity/ast/AST.h | 1 + libsolidity/ast/ASTAnnotations.cpp | 1 + libsolidity/ast/ASTAnnotations.h | 1 + libsolidity/ast/ASTEnums.h | 1 + libsolidity/ast/ASTForward.h | 1 + libsolidity/ast/ASTJsonConverter.cpp | 1 + libsolidity/ast/ASTJsonConverter.h | 1 + libsolidity/ast/ASTJsonImporter.cpp | 1 + libsolidity/ast/ASTJsonImporter.h | 1 + libsolidity/ast/ASTUtils.cpp | 1 + libsolidity/ast/ASTUtils.h | 1 + libsolidity/ast/ASTVisitor.h | 1 + libsolidity/ast/AST_accept.h | 1 + libsolidity/ast/AsmJsonImporter.cpp | 1 + libsolidity/ast/AsmJsonImporter.h | 1 + libsolidity/ast/ExperimentalFeatures.h | 1 + libsolidity/ast/TypeProvider.cpp | 1 + libsolidity/ast/TypeProvider.h | 1 + libsolidity/ast/Types.cpp | 1 + libsolidity/ast/Types.h | 1 + libsolidity/codegen/ABIFunctions.cpp | 1 + libsolidity/codegen/ABIFunctions.h | 1 + libsolidity/codegen/ArrayUtils.cpp | 1 + libsolidity/codegen/ArrayUtils.h | 1 + libsolidity/codegen/Compiler.cpp | 1 + libsolidity/codegen/Compiler.h | 1 + libsolidity/codegen/CompilerContext.cpp | 1 + libsolidity/codegen/CompilerContext.h | 1 + libsolidity/codegen/CompilerUtils.cpp | 1 + libsolidity/codegen/CompilerUtils.h | 1 + libsolidity/codegen/ContractCompiler.cpp | 1 + libsolidity/codegen/ContractCompiler.h | 1 + libsolidity/codegen/ExpressionCompiler.cpp | 1 + libsolidity/codegen/ExpressionCompiler.h | 1 + libsolidity/codegen/LValue.cpp | 1 + libsolidity/codegen/LValue.h | 1 + libsolidity/codegen/MultiUseYulFunctionCollector.cpp | 1 + libsolidity/codegen/MultiUseYulFunctionCollector.h | 1 + libsolidity/codegen/ReturnInfo.cpp | 1 + libsolidity/codegen/ReturnInfo.h | 1 + libsolidity/codegen/YulUtilFunctions.cpp | 1 + libsolidity/codegen/YulUtilFunctions.h | 1 + libsolidity/codegen/ir/Common.cpp | 1 + libsolidity/codegen/ir/Common.h | 1 + libsolidity/codegen/ir/IRGenerationContext.cpp | 1 + libsolidity/codegen/ir/IRGenerationContext.h | 1 + libsolidity/codegen/ir/IRGenerator.cpp | 1 + libsolidity/codegen/ir/IRGenerator.h | 1 + libsolidity/codegen/ir/IRGeneratorForStatements.cpp | 1 + libsolidity/codegen/ir/IRGeneratorForStatements.h | 1 + libsolidity/codegen/ir/IRLValue.h | 1 + libsolidity/codegen/ir/IRVariable.cpp | 1 + libsolidity/codegen/ir/IRVariable.h | 1 + libsolidity/formal/BMC.cpp | 1 + libsolidity/formal/BMC.h | 1 + libsolidity/formal/CHC.cpp | 1 + libsolidity/formal/CHC.h | 1 + libsolidity/formal/EncodingContext.cpp | 1 + libsolidity/formal/EncodingContext.h | 1 + libsolidity/formal/ModelChecker.cpp | 1 + libsolidity/formal/ModelChecker.h | 1 + libsolidity/formal/SMTEncoder.cpp | 1 + libsolidity/formal/SMTEncoder.h | 1 + libsolidity/formal/SSAVariable.cpp | 1 + libsolidity/formal/SSAVariable.h | 1 + libsolidity/formal/SymbolicState.cpp | 1 + libsolidity/formal/SymbolicState.h | 1 + libsolidity/formal/SymbolicTypes.cpp | 1 + libsolidity/formal/SymbolicTypes.h | 1 + libsolidity/formal/SymbolicVariables.cpp | 1 + libsolidity/formal/SymbolicVariables.h | 1 + libsolidity/formal/VariableUsage.cpp | 1 + libsolidity/formal/VariableUsage.h | 1 + libsolidity/interface/ABI.cpp | 1 + libsolidity/interface/ABI.h | 1 + libsolidity/interface/CompilerStack.cpp | 1 + libsolidity/interface/CompilerStack.h | 1 + libsolidity/interface/DebugSettings.h | 1 + libsolidity/interface/GasEstimator.cpp | 1 + libsolidity/interface/GasEstimator.h | 1 + libsolidity/interface/Natspec.cpp | 1 + libsolidity/interface/Natspec.h | 1 + libsolidity/interface/OptimiserSettings.h | 1 + libsolidity/interface/ReadFile.h | 1 + libsolidity/interface/StandardCompiler.cpp | 1 + libsolidity/interface/StandardCompiler.h | 1 + libsolidity/interface/StorageLayout.cpp | 1 + libsolidity/interface/StorageLayout.h | 1 + libsolidity/interface/Version.cpp | 1 + libsolidity/interface/Version.h | 1 + libsolidity/parsing/DocStringParser.cpp | 1 + libsolidity/parsing/DocStringParser.h | 1 + libsolidity/parsing/Parser.cpp | 1 + libsolidity/parsing/Parser.h | 1 + libsolidity/parsing/Token.h | 1 + libsolutil/Algorithms.h | 1 + libsolutil/AnsiColorized.h | 1 + libsolutil/Assertions.h | 1 + libsolutil/Common.h | 1 + libsolutil/CommonData.cpp | 1 + libsolutil/CommonData.h | 1 + libsolutil/CommonIO.cpp | 1 + libsolutil/CommonIO.h | 1 + libsolutil/Exceptions.cpp | 1 + libsolutil/Exceptions.h | 1 + libsolutil/FixedHash.h | 1 + libsolutil/IndentedWriter.cpp | 1 + libsolutil/IndentedWriter.h | 1 + libsolutil/InvertibleMap.h | 1 + libsolutil/IpfsHash.cpp | 1 + libsolutil/IpfsHash.h | 1 + libsolutil/JSON.cpp | 1 + libsolutil/JSON.h | 1 + libsolutil/Keccak256.cpp | 1 + libsolutil/Keccak256.h | 1 + libsolutil/LazyInit.h | 1 + libsolutil/Result.h | 1 + libsolutil/StringUtils.cpp | 1 + libsolutil/StringUtils.h | 1 + libsolutil/SwarmHash.cpp | 1 + libsolutil/SwarmHash.h | 1 + libsolutil/UTF8.cpp | 1 + libsolutil/UTF8.h | 1 + libsolutil/Visitor.h | 1 + libsolutil/Whiskers.cpp | 1 + libsolutil/Whiskers.h | 1 + libyul/AsmAnalysis.cpp | 1 + libyul/AsmAnalysis.h | 1 + libyul/AsmAnalysisInfo.h | 1 + libyul/AsmData.h | 1 + libyul/AsmDataForward.h | 1 + libyul/AsmJsonConverter.cpp | 1 + libyul/AsmJsonConverter.h | 1 + libyul/AsmParser.cpp | 1 + libyul/AsmParser.h | 1 + libyul/AsmPrinter.cpp | 1 + libyul/AsmPrinter.h | 1 + libyul/AsmScope.cpp | 1 + libyul/AsmScope.h | 1 + libyul/AsmScopeFiller.cpp | 1 + libyul/AsmScopeFiller.h | 1 + libyul/AssemblyStack.cpp | 1 + libyul/AssemblyStack.h | 1 + libyul/CompilabilityChecker.h | 1 + libyul/ControlFlowSideEffects.h | 1 + libyul/Dialect.cpp | 1 + libyul/Dialect.h | 1 + libyul/Exceptions.h | 1 + libyul/Object.cpp | 1 + libyul/Object.h | 1 + libyul/ObjectParser.cpp | 1 + libyul/ObjectParser.h | 1 + libyul/SideEffects.h | 1 + libyul/Utilities.cpp | 1 + libyul/Utilities.h | 1 + libyul/YulString.h | 1 + libyul/backends/evm/AbstractAssembly.h | 1 + libyul/backends/evm/AsmCodeGen.cpp | 1 + libyul/backends/evm/AsmCodeGen.h | 1 + libyul/backends/evm/ConstantOptimiser.cpp | 1 + libyul/backends/evm/ConstantOptimiser.h | 1 + libyul/backends/evm/EVMAssembly.cpp | 1 + libyul/backends/evm/EVMAssembly.h | 1 + libyul/backends/evm/EVMCodeTransform.cpp | 1 + libyul/backends/evm/EVMCodeTransform.h | 1 + libyul/backends/evm/EVMDialect.cpp | 1 + libyul/backends/evm/EVMDialect.h | 1 + libyul/backends/evm/EVMMetrics.cpp | 1 + libyul/backends/evm/EVMMetrics.h | 1 + libyul/backends/evm/EVMObjectCompiler.cpp | 1 + libyul/backends/evm/EVMObjectCompiler.h | 1 + libyul/backends/evm/NoOutputAssembly.cpp | 1 + libyul/backends/evm/NoOutputAssembly.h | 1 + libyul/backends/wasm/BinaryTransform.cpp | 1 + libyul/backends/wasm/BinaryTransform.h | 1 + libyul/backends/wasm/EVMToEwasmTranslator.cpp | 1 + libyul/backends/wasm/EVMToEwasmTranslator.h | 1 + libyul/backends/wasm/TextTransform.cpp | 1 + libyul/backends/wasm/TextTransform.h | 1 + libyul/backends/wasm/WasmAST.h | 1 + libyul/backends/wasm/WasmCodeTransform.cpp | 1 + libyul/backends/wasm/WasmCodeTransform.h | 1 + libyul/backends/wasm/WasmDialect.cpp | 1 + libyul/backends/wasm/WasmDialect.h | 1 + libyul/backends/wasm/WasmObjectCompiler.cpp | 1 + libyul/backends/wasm/WasmObjectCompiler.h | 1 + libyul/backends/wasm/WordSizeTransform.cpp | 1 + libyul/backends/wasm/WordSizeTransform.h | 1 + libyul/optimiser/ASTCopier.cpp | 1 + libyul/optimiser/ASTCopier.h | 1 + libyul/optimiser/ASTWalker.cpp | 1 + libyul/optimiser/ASTWalker.h | 1 + libyul/optimiser/BlockFlattener.cpp | 1 + libyul/optimiser/BlockFlattener.h | 1 + libyul/optimiser/BlockHasher.cpp | 1 + libyul/optimiser/BlockHasher.h | 1 + libyul/optimiser/CallGraphGenerator.cpp | 1 + libyul/optimiser/CallGraphGenerator.h | 1 + libyul/optimiser/CircularReferencesPruner.cpp | 1 + libyul/optimiser/CircularReferencesPruner.h | 1 + libyul/optimiser/CommonSubexpressionEliminator.h | 1 + libyul/optimiser/ConditionalSimplifier.cpp | 1 + libyul/optimiser/ConditionalSimplifier.h | 1 + libyul/optimiser/ConditionalUnsimplifier.cpp | 1 + libyul/optimiser/ConditionalUnsimplifier.h | 1 + libyul/optimiser/ControlFlowSimplifier.cpp | 1 + libyul/optimiser/ControlFlowSimplifier.h | 1 + libyul/optimiser/DataFlowAnalyzer.h | 1 + libyul/optimiser/DeadCodeEliminator.cpp | 1 + libyul/optimiser/DeadCodeEliminator.h | 1 + libyul/optimiser/Disambiguator.cpp | 1 + libyul/optimiser/Disambiguator.h | 1 + libyul/optimiser/EquivalentFunctionCombiner.cpp | 1 + libyul/optimiser/EquivalentFunctionCombiner.h | 1 + libyul/optimiser/EquivalentFunctionDetector.cpp | 1 + libyul/optimiser/EquivalentFunctionDetector.h | 1 + libyul/optimiser/ExpressionInliner.cpp | 1 + libyul/optimiser/ExpressionInliner.h | 1 + libyul/optimiser/ExpressionJoiner.cpp | 1 + libyul/optimiser/ExpressionJoiner.h | 1 + libyul/optimiser/ExpressionSimplifier.cpp | 1 + libyul/optimiser/ExpressionSimplifier.h | 1 + libyul/optimiser/ExpressionSplitter.cpp | 1 + libyul/optimiser/ExpressionSplitter.h | 1 + libyul/optimiser/ForLoopConditionIntoBody.cpp | 1 + libyul/optimiser/ForLoopConditionIntoBody.h | 1 + libyul/optimiser/ForLoopConditionOutOfBody.cpp | 1 + libyul/optimiser/ForLoopConditionOutOfBody.h | 1 + libyul/optimiser/ForLoopInitRewriter.cpp | 1 + libyul/optimiser/ForLoopInitRewriter.h | 1 + libyul/optimiser/FullInliner.cpp | 1 + libyul/optimiser/FullInliner.h | 1 + libyul/optimiser/FunctionGrouper.cpp | 1 + libyul/optimiser/FunctionGrouper.h | 1 + libyul/optimiser/FunctionHoister.cpp | 1 + libyul/optimiser/FunctionHoister.h | 1 + libyul/optimiser/InlinableExpressionFunctionFinder.cpp | 1 + libyul/optimiser/InlinableExpressionFunctionFinder.h | 1 + libyul/optimiser/KnowledgeBase.cpp | 1 + libyul/optimiser/KnowledgeBase.h | 1 + libyul/optimiser/LoadResolver.cpp | 1 + libyul/optimiser/LoadResolver.h | 1 + libyul/optimiser/LoopInvariantCodeMotion.cpp | 1 + libyul/optimiser/LoopInvariantCodeMotion.h | 1 + libyul/optimiser/MainFunction.cpp | 1 + libyul/optimiser/MainFunction.h | 1 + libyul/optimiser/Metrics.h | 1 + libyul/optimiser/NameCollector.cpp | 1 + libyul/optimiser/NameCollector.h | 1 + libyul/optimiser/NameDispenser.cpp | 1 + libyul/optimiser/NameDispenser.h | 1 + libyul/optimiser/NameDisplacer.cpp | 1 + libyul/optimiser/NameDisplacer.h | 1 + libyul/optimiser/OptimiserStep.h | 1 + libyul/optimiser/OptimizerUtilities.cpp | 1 + libyul/optimiser/OptimizerUtilities.h | 1 + libyul/optimiser/RedundantAssignEliminator.cpp | 1 + libyul/optimiser/RedundantAssignEliminator.h | 1 + libyul/optimiser/Rematerialiser.h | 1 + libyul/optimiser/SSAReverser.cpp | 1 + libyul/optimiser/SSAReverser.h | 1 + libyul/optimiser/SSATransform.cpp | 1 + libyul/optimiser/SSATransform.h | 1 + libyul/optimiser/SSAValueTracker.cpp | 1 + libyul/optimiser/SSAValueTracker.h | 1 + libyul/optimiser/Semantics.cpp | 1 + libyul/optimiser/Semantics.h | 1 + libyul/optimiser/SimplificationRules.cpp | 1 + libyul/optimiser/SimplificationRules.h | 1 + libyul/optimiser/StackCompressor.h | 1 + libyul/optimiser/StructuralSimplifier.cpp | 1 + libyul/optimiser/StructuralSimplifier.h | 1 + libyul/optimiser/Substitution.cpp | 1 + libyul/optimiser/Substitution.h | 1 + libyul/optimiser/Suite.cpp | 1 + libyul/optimiser/Suite.h | 1 + libyul/optimiser/SyntacticalEquality.h | 1 + libyul/optimiser/TypeInfo.cpp | 1 + libyul/optimiser/TypeInfo.h | 1 + libyul/optimiser/UnusedPruner.h | 1 + libyul/optimiser/VarDeclInitializer.cpp | 1 + libyul/optimiser/VarDeclInitializer.h | 1 + libyul/optimiser/VarNameCleaner.cpp | 1 + libyul/optimiser/VarNameCleaner.h | 1 + solc/CommandLineInterface.cpp | 1 + solc/CommandLineInterface.h | 1 + solc/main.cpp | 1 + test/Common.cpp | 1 + test/Common.h | 1 + test/CommonSyntaxTest.cpp | 1 + test/CommonSyntaxTest.h | 1 + test/EVMHost.cpp | 1 + test/EVMHost.h | 1 + test/ExecutionFramework.cpp | 1 + test/ExecutionFramework.h | 1 + test/InteractiveTests.h | 1 + test/Metadata.cpp | 1 + test/Metadata.h | 1 + test/TestCase.cpp | 1 + test/TestCase.h | 1 + test/TestCaseReader.cpp | 1 + test/TestCaseReader.h | 1 + test/boostTest.cpp | 1 + test/contracts/AuctionRegistrar.cpp | 1 + test/contracts/ContractInterface.h | 1 + test/contracts/FixedFeeRegistrar.cpp | 1 + test/contracts/Wallet.cpp | 1 + test/libevmasm/Assembler.cpp | 1 + test/libevmasm/Optimiser.cpp | 1 + test/liblangutil/CharStream.cpp | 1 + test/liblangutil/SourceLocation.cpp | 1 + test/libsolidity/ABIDecoderTests.cpp | 1 + test/libsolidity/ABIEncoderTests.cpp | 1 + test/libsolidity/ABIJsonTest.h | 1 + test/libsolidity/ABITestsCommon.h | 1 + test/libsolidity/ASTJSONTest.cpp | 1 + test/libsolidity/ASTJSONTest.h | 1 + test/libsolidity/AnalysisFramework.cpp | 1 + test/libsolidity/AnalysisFramework.h | 1 + test/libsolidity/Assembly.cpp | 1 + test/libsolidity/ErrorCheck.cpp | 1 + test/libsolidity/ErrorCheck.h | 1 + test/libsolidity/GasCosts.cpp | 1 + test/libsolidity/GasMeter.cpp | 1 + test/libsolidity/GasTest.cpp | 1 + test/libsolidity/GasTest.h | 1 + test/libsolidity/Imports.cpp | 1 + test/libsolidity/LibSolc.cpp | 1 + test/libsolidity/SMTCheckerJSONTest.cpp | 1 + test/libsolidity/SMTCheckerJSONTest.h | 1 + test/libsolidity/SMTCheckerTest.cpp | 1 + test/libsolidity/SMTCheckerTest.h | 1 + test/libsolidity/SemVerMatcher.cpp | 1 + test/libsolidity/SolidityEndToEndTest.cpp | 1 + test/libsolidity/SolidityExecutionFramework.cpp | 1 + test/libsolidity/SolidityExecutionFramework.h | 1 + test/libsolidity/SolidityExpressionCompiler.cpp | 1 + test/libsolidity/SolidityOptimizer.cpp | 1 + test/libsolidity/SolidityTypes.cpp | 1 + test/libsolidity/StandardCompiler.cpp | 1 + test/libsolidity/SyntaxTest.cpp | 1 + test/libsolidity/SyntaxTest.h | 1 + test/libsolidity/util/BytesUtils.cpp | 1 + test/libsolidity/util/ContractABIUtils.cpp | 1 + test/libsolidity/util/TestFileParser.cpp | 1 + test/libsolidity/util/TestFileParserTests.cpp | 1 + test/libsolidity/util/TestFunctionCallTests.cpp | 1 + test/libsolutil/Checksum.cpp | 1 + test/libsolutil/CommonData.cpp | 1 + test/libsolutil/IndentedWriter.cpp | 1 + test/libsolutil/IpfsHash.cpp | 1 + test/libsolutil/IterateReplacing.cpp | 1 + test/libsolutil/JSON.cpp | 1 + test/libsolutil/Keccak256.cpp | 1 + test/libsolutil/LazyInit.cpp | 1 + test/libsolutil/StringUtils.cpp | 1 + test/libsolutil/SwarmHash.cpp | 1 + test/libsolutil/UTF8.cpp | 1 + test/libsolutil/Whiskers.cpp | 1 + test/libyul/EwasmTranslationTest.cpp | 1 + test/libyul/EwasmTranslationTest.h | 1 + test/libyul/FunctionSideEffects.cpp | 1 + test/libyul/FunctionSideEffects.h | 1 + test/libyul/Inliner.cpp | 1 + test/libyul/ObjectCompilerTest.cpp | 1 + test/libyul/ObjectCompilerTest.h | 1 + test/libyul/SyntaxTest.cpp | 1 + test/libyul/SyntaxTest.h | 1 + test/libyul/YulInterpreterTest.cpp | 1 + test/libyul/YulInterpreterTest.h | 1 + test/libyul/YulOptimizerTest.cpp | 1 + test/libyul/YulOptimizerTest.h | 1 + test/tools/IsolTestOptions.cpp | 1 + test/tools/IsolTestOptions.h | 1 + test/tools/afl_fuzzer.cpp | 1 + test/tools/fuzzer_common.cpp | 1 + test/tools/fuzzer_common.h | 1 + test/tools/isoltest.cpp | 1 + test/tools/ossfuzz/abiV2Proto.proto | 1 + test/tools/ossfuzz/abiV2ProtoFuzzer.cpp | 1 + test/tools/ossfuzz/const_opt_ossfuzz.cpp | 1 + test/tools/ossfuzz/protoToSol.cpp | 1 + test/tools/ossfuzz/protoToSol.h | 1 + test/tools/ossfuzz/protoToYul.cpp | 1 + test/tools/ossfuzz/protoToYul.h | 1 + test/tools/ossfuzz/solProto.proto | 1 + test/tools/ossfuzz/solProtoFuzzer.cpp | 1 + test/tools/ossfuzz/solc_noopt_ossfuzz.cpp | 1 + test/tools/ossfuzz/solc_opt_ossfuzz.cpp | 1 + test/tools/ossfuzz/strictasm_assembly_ossfuzz.cpp | 1 + test/tools/ossfuzz/strictasm_diff_ossfuzz.cpp | 1 + test/tools/ossfuzz/strictasm_opt_ossfuzz.cpp | 1 + test/tools/ossfuzz/yulFuzzerCommon.cpp | 1 + test/tools/ossfuzz/yulFuzzerCommon.h | 1 + test/tools/ossfuzz/yulProto.proto | 1 + test/tools/ossfuzz/yulProtoFuzzer.cpp | 1 + test/tools/ossfuzz/yulProto_diff_ossfuzz.cpp | 1 + test/tools/yulInterpreter/EVMInstructionInterpreter.cpp | 1 + test/tools/yulInterpreter/EVMInstructionInterpreter.h | 1 + test/tools/yulInterpreter/EwasmBuiltinInterpreter.cpp | 1 + test/tools/yulInterpreter/EwasmBuiltinInterpreter.h | 1 + test/tools/yulInterpreter/Interpreter.cpp | 1 + test/tools/yulInterpreter/Interpreter.h | 1 + test/tools/yulopti.cpp | 1 + test/tools/yulrun.cpp | 1 + test/yulPhaser/AlgorithmRunner.cpp | 1 + test/yulPhaser/Chromosome.cpp | 1 + test/yulPhaser/Common.cpp | 1 + test/yulPhaser/FitnessMetrics.cpp | 1 + test/yulPhaser/GeneticAlgorithms.cpp | 1 + test/yulPhaser/Mutations.cpp | 1 + test/yulPhaser/PairSelections.cpp | 1 + test/yulPhaser/Phaser.cpp | 1 + test/yulPhaser/Population.cpp | 1 + test/yulPhaser/Program.cpp | 1 + test/yulPhaser/ProgramCache.cpp | 1 + test/yulPhaser/Selections.cpp | 1 + test/yulPhaser/SimulationRNG.cpp | 1 + test/yulPhaser/TestHelpers.cpp | 1 + test/yulPhaser/TestHelpers.h | 1 + test/yulPhaser/TestHelpersTest.cpp | 1 + tools/solidityUpgrade/SourceTransform.h | 1 + tools/solidityUpgrade/SourceUpgrade.cpp | 1 + tools/solidityUpgrade/SourceUpgrade.h | 1 + tools/solidityUpgrade/Upgrade050.cpp | 1 + tools/solidityUpgrade/Upgrade050.h | 1 + tools/solidityUpgrade/Upgrade060.cpp | 1 + tools/solidityUpgrade/Upgrade060.h | 1 + tools/solidityUpgrade/UpgradeChange.cpp | 1 + tools/solidityUpgrade/UpgradeSuite.h | 1 + tools/solidityUpgrade/main.cpp | 1 + tools/yulPhaser/AlgorithmRunner.cpp | 1 + tools/yulPhaser/AlgorithmRunner.h | 1 + tools/yulPhaser/Chromosome.cpp | 1 + tools/yulPhaser/Chromosome.h | 1 + tools/yulPhaser/Common.cpp | 1 + tools/yulPhaser/Common.h | 1 + tools/yulPhaser/Exceptions.h | 1 + tools/yulPhaser/FitnessMetrics.cpp | 1 + tools/yulPhaser/FitnessMetrics.h | 1 + tools/yulPhaser/GeneticAlgorithms.cpp | 1 + tools/yulPhaser/GeneticAlgorithms.h | 1 + tools/yulPhaser/Mutations.cpp | 1 + tools/yulPhaser/Mutations.h | 1 + tools/yulPhaser/PairSelections.cpp | 1 + tools/yulPhaser/PairSelections.h | 1 + tools/yulPhaser/Phaser.cpp | 1 + tools/yulPhaser/Phaser.h | 1 + tools/yulPhaser/Population.cpp | 1 + tools/yulPhaser/Population.h | 1 + tools/yulPhaser/Program.cpp | 1 + tools/yulPhaser/Program.h | 1 + tools/yulPhaser/ProgramCache.cpp | 1 + tools/yulPhaser/ProgramCache.h | 1 + tools/yulPhaser/Selections.cpp | 1 + tools/yulPhaser/Selections.h | 1 + tools/yulPhaser/SimulationRNG.cpp | 1 + tools/yulPhaser/SimulationRNG.h | 1 + tools/yulPhaser/main.cpp | 1 + 569 files changed, 569 insertions(+) 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 diff --git a/test/boostTest.cpp b/test/boostTest.cpp index 19cdfc423..8f065a7bb 100644 --- a/test/boostTest.cpp +++ b/test/boostTest.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 boostTest.cpp * @author Marko Simovic * @date 2014 diff --git a/test/contracts/AuctionRegistrar.cpp b/test/contracts/AuctionRegistrar.cpp index 71e47aa0c..b3621238b 100644 --- a/test/contracts/AuctionRegistrar.cpp +++ b/test/contracts/AuctionRegistrar.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/test/contracts/ContractInterface.h b/test/contracts/ContractInterface.h index 4d063947e..1bc1d9e39 100644 --- a/test/contracts/ContractInterface.h +++ b/test/contracts/ContractInterface.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/contracts/FixedFeeRegistrar.cpp b/test/contracts/FixedFeeRegistrar.cpp index a2998379f..f953cda9a 100644 --- a/test/contracts/FixedFeeRegistrar.cpp +++ b/test/contracts/FixedFeeRegistrar.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/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp index 46800fa78..503282094 100644 --- a/test/contracts/Wallet.cpp +++ b/test/contracts/Wallet.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/test/libevmasm/Assembler.cpp b/test/libevmasm/Assembler.cpp index cdb7046be..c2140ace6 100644 --- a/test/libevmasm/Assembler.cpp +++ b/test/libevmasm/Assembler.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 2018 diff --git a/test/libevmasm/Optimiser.cpp b/test/libevmasm/Optimiser.cpp index 4690ceddc..741dc7523 100644 --- a/test/libevmasm/Optimiser.cpp +++ b/test/libevmasm/Optimiser.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/liblangutil/CharStream.cpp b/test/liblangutil/CharStream.cpp index 3b9d980c1..d1189c3e9 100644 --- a/test/liblangutil/CharStream.cpp +++ b/test/liblangutil/CharStream.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 Rocky Bernstein * @date 2019 diff --git a/test/liblangutil/SourceLocation.cpp b/test/liblangutil/SourceLocation.cpp index c5b47d0f6..ff1664dfe 100644 --- a/test/liblangutil/SourceLocation.cpp +++ b/test/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 /** * @author Yoichi Hirai * @date 2016 diff --git a/test/libsolidity/ABIDecoderTests.cpp b/test/libsolidity/ABIDecoderTests.cpp index 39bf7602c..2c3711ea3 100644 --- a/test/libsolidity/ABIDecoderTests.cpp +++ b/test/libsolidity/ABIDecoderTests.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 /** * Unit tests for Solidity's ABI decoder. */ diff --git a/test/libsolidity/ABIEncoderTests.cpp b/test/libsolidity/ABIEncoderTests.cpp index 777f991a3..b804a458d 100644 --- a/test/libsolidity/ABIEncoderTests.cpp +++ b/test/libsolidity/ABIEncoderTests.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 /** * Unit tests for Solidity's ABI encoder. */ diff --git a/test/libsolidity/ABIJsonTest.h b/test/libsolidity/ABIJsonTest.h index 702d36dbf..0cc7e674e 100644 --- a/test/libsolidity/ABIJsonTest.h +++ b/test/libsolidity/ABIJsonTest.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 /** * Unit tests for the solidity compiler ABI JSON Interface output. */ diff --git a/test/libsolidity/ABITestsCommon.h b/test/libsolidity/ABITestsCommon.h index b2afcf125..c5eea01ca 100644 --- a/test/libsolidity/ABITestsCommon.h +++ b/test/libsolidity/ABITestsCommon.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 diff --git a/test/libsolidity/ASTJSONTest.cpp b/test/libsolidity/ASTJSONTest.cpp index 974e0f486..979c79aa5 100644 --- a/test/libsolidity/ASTJSONTest.cpp +++ b/test/libsolidity/ASTJSONTest.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/libsolidity/ASTJSONTest.h b/test/libsolidity/ASTJSONTest.h index 45d7a08b9..4e74d79f3 100644 --- a/test/libsolidity/ASTJSONTest.h +++ b/test/libsolidity/ASTJSONTest.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/libsolidity/AnalysisFramework.cpp b/test/libsolidity/AnalysisFramework.cpp index 80c20c760..bd28de240 100644 --- a/test/libsolidity/AnalysisFramework.cpp +++ b/test/libsolidity/AnalysisFramework.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 /** * Framework for testing features from the analysis phase of compiler. */ diff --git a/test/libsolidity/AnalysisFramework.h b/test/libsolidity/AnalysisFramework.h index db75ad301..293e0e17c 100644 --- a/test/libsolidity/AnalysisFramework.h +++ b/test/libsolidity/AnalysisFramework.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 /** * Framework for testing features from the analysis phase of compiler. */ diff --git a/test/libsolidity/Assembly.cpp b/test/libsolidity/Assembly.cpp index 23bf1a2f8..12e088fac 100644 --- a/test/libsolidity/Assembly.cpp +++ b/test/libsolidity/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 /** * @author Lefteris Karapetsas * @date 2015 diff --git a/test/libsolidity/ErrorCheck.cpp b/test/libsolidity/ErrorCheck.cpp index 1f51006ed..42b527e5b 100644 --- a/test/libsolidity/ErrorCheck.cpp +++ b/test/libsolidity/ErrorCheck.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 ErrorCheck.cpp * @author Yoichi Hirai * @date 2016 diff --git a/test/libsolidity/ErrorCheck.h b/test/libsolidity/ErrorCheck.h index 5deae56dc..e01c2ca52 100644 --- a/test/libsolidity/ErrorCheck.h +++ b/test/libsolidity/ErrorCheck.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 ErrorCheck.h * @author Yoichi Hirai * @date 2016 diff --git a/test/libsolidity/GasCosts.cpp b/test/libsolidity/GasCosts.cpp index 252b7759b..2ad1368a6 100644 --- a/test/libsolidity/GasCosts.cpp +++ b/test/libsolidity/GasCosts.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 /** * Tests that check that the cost of certain operations stay within range. */ diff --git a/test/libsolidity/GasMeter.cpp b/test/libsolidity/GasMeter.cpp index 09e257664..c8296beb1 100644 --- a/test/libsolidity/GasMeter.cpp +++ b/test/libsolidity/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 /** * @author Christian * @date 2015 diff --git a/test/libsolidity/GasTest.cpp b/test/libsolidity/GasTest.cpp index d76979c9c..f996f7352 100644 --- a/test/libsolidity/GasTest.cpp +++ b/test/libsolidity/GasTest.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/libsolidity/GasTest.h b/test/libsolidity/GasTest.h index d8bd0acad..da14e5292 100644 --- a/test/libsolidity/GasTest.h +++ b/test/libsolidity/GasTest.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/libsolidity/Imports.cpp b/test/libsolidity/Imports.cpp index aa4cab9b8..bbbefb33e 100644 --- a/test/libsolidity/Imports.cpp +++ b/test/libsolidity/Imports.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/test/libsolidity/LibSolc.cpp b/test/libsolidity/LibSolc.cpp index 9802e37c2..3375f8f92 100644 --- a/test/libsolidity/LibSolc.cpp +++ b/test/libsolidity/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 /** * @date 2017 * Unit tests for libsolc/libsolc.cpp. diff --git a/test/libsolidity/SMTCheckerJSONTest.cpp b/test/libsolidity/SMTCheckerJSONTest.cpp index e1b977cf5..ca6608905 100644 --- a/test/libsolidity/SMTCheckerJSONTest.cpp +++ b/test/libsolidity/SMTCheckerJSONTest.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/libsolidity/SMTCheckerJSONTest.h b/test/libsolidity/SMTCheckerJSONTest.h index b5d199e7d..6de7f36c9 100644 --- a/test/libsolidity/SMTCheckerJSONTest.h +++ b/test/libsolidity/SMTCheckerJSONTest.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/libsolidity/SMTCheckerTest.cpp b/test/libsolidity/SMTCheckerTest.cpp index ac858747d..51d1e7b36 100644 --- a/test/libsolidity/SMTCheckerTest.cpp +++ b/test/libsolidity/SMTCheckerTest.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/libsolidity/SMTCheckerTest.h b/test/libsolidity/SMTCheckerTest.h index b710cde45..522abb677 100644 --- a/test/libsolidity/SMTCheckerTest.h +++ b/test/libsolidity/SMTCheckerTest.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/libsolidity/SemVerMatcher.cpp b/test/libsolidity/SemVerMatcher.cpp index 36b9c8214..a3e1661ef 100644 --- a/test/libsolidity/SemVerMatcher.cpp +++ b/test/libsolidity/SemVerMatcher.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/libsolidity/SolidityEndToEndTest.cpp b/test/libsolidity/SolidityEndToEndTest.cpp index d449cd27e..59f01096d 100644 --- a/test/libsolidity/SolidityEndToEndTest.cpp +++ b/test/libsolidity/SolidityEndToEndTest.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/test/libsolidity/SolidityExecutionFramework.cpp b/test/libsolidity/SolidityExecutionFramework.cpp index 2d0ae44da..d0f4227cc 100644 --- a/test/libsolidity/SolidityExecutionFramework.cpp +++ b/test/libsolidity/SolidityExecutionFramework.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/libsolidity/SolidityExecutionFramework.h b/test/libsolidity/SolidityExecutionFramework.h index 5be310c87..9efe22b20 100644 --- a/test/libsolidity/SolidityExecutionFramework.h +++ b/test/libsolidity/SolidityExecutionFramework.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/libsolidity/SolidityExpressionCompiler.cpp b/test/libsolidity/SolidityExpressionCompiler.cpp index 10083b827..a1db40747 100644 --- a/test/libsolidity/SolidityExpressionCompiler.cpp +++ b/test/libsolidity/SolidityExpressionCompiler.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/libsolidity/SolidityOptimizer.cpp b/test/libsolidity/SolidityOptimizer.cpp index c4f7a2e71..952eac940 100644 --- a/test/libsolidity/SolidityOptimizer.cpp +++ b/test/libsolidity/SolidityOptimizer.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/libsolidity/SolidityTypes.cpp b/test/libsolidity/SolidityTypes.cpp index bc9f16904..b837b3878 100644 --- a/test/libsolidity/SolidityTypes.cpp +++ b/test/libsolidity/SolidityTypes.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/test/libsolidity/StandardCompiler.cpp b/test/libsolidity/StandardCompiler.cpp index 0b2098097..570350466 100644 --- a/test/libsolidity/StandardCompiler.cpp +++ b/test/libsolidity/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 /** * @date 2017 * Unit tests for interface/StandardCompiler.h. diff --git a/test/libsolidity/SyntaxTest.cpp b/test/libsolidity/SyntaxTest.cpp index 48a293b65..c554366e9 100644 --- a/test/libsolidity/SyntaxTest.cpp +++ b/test/libsolidity/SyntaxTest.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/libsolidity/SyntaxTest.h b/test/libsolidity/SyntaxTest.h index dbc5d68b3..b71691bea 100644 --- a/test/libsolidity/SyntaxTest.h +++ b/test/libsolidity/SyntaxTest.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/libsolidity/util/BytesUtils.cpp b/test/libsolidity/util/BytesUtils.cpp index 7416ca9a2..d095a0a76 100644 --- a/test/libsolidity/util/BytesUtils.cpp +++ b/test/libsolidity/util/BytesUtils.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/libsolidity/util/ContractABIUtils.cpp b/test/libsolidity/util/ContractABIUtils.cpp index 2e600e4c1..a3a19e6e5 100644 --- a/test/libsolidity/util/ContractABIUtils.cpp +++ b/test/libsolidity/util/ContractABIUtils.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/libsolidity/util/TestFileParser.cpp b/test/libsolidity/util/TestFileParser.cpp index 52e4156aa..046193d39 100644 --- a/test/libsolidity/util/TestFileParser.cpp +++ b/test/libsolidity/util/TestFileParser.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/libsolidity/util/TestFileParserTests.cpp b/test/libsolidity/util/TestFileParserTests.cpp index 4fb44d7cd..6b3ba2d7a 100644 --- a/test/libsolidity/util/TestFileParserTests.cpp +++ b/test/libsolidity/util/TestFileParserTests.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 /** * Unit tests for Solidity's test expectation parser. */ diff --git a/test/libsolidity/util/TestFunctionCallTests.cpp b/test/libsolidity/util/TestFunctionCallTests.cpp index 7b34cbe8e..dc3030384 100644 --- a/test/libsolidity/util/TestFunctionCallTests.cpp +++ b/test/libsolidity/util/TestFunctionCallTests.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/libsolutil/Checksum.cpp b/test/libsolutil/Checksum.cpp index 159c55efc..ab7ccf631 100644 --- a/test/libsolutil/Checksum.cpp +++ b/test/libsolutil/Checksum.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 /** * Unit tests for the address checksum. */ diff --git a/test/libsolutil/CommonData.cpp b/test/libsolutil/CommonData.cpp index d8434c79d..670a71d14 100644 --- a/test/libsolutil/CommonData.cpp +++ b/test/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 /** * Unit tests for the StringUtils routines. */ diff --git a/test/libsolutil/IndentedWriter.cpp b/test/libsolutil/IndentedWriter.cpp index 3d0963e9f..0938f9617 100644 --- a/test/libsolutil/IndentedWriter.cpp +++ b/test/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 /** * Unit tests for IndentedWriter. */ diff --git a/test/libsolutil/IpfsHash.cpp b/test/libsolutil/IpfsHash.cpp index 40385d43f..c99650a4b 100644 --- a/test/libsolutil/IpfsHash.cpp +++ b/test/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 /** * Unit tests for the ipfs hash computation routine. */ diff --git a/test/libsolutil/IterateReplacing.cpp b/test/libsolutil/IterateReplacing.cpp index e28091c76..a54841560 100644 --- a/test/libsolutil/IterateReplacing.cpp +++ b/test/libsolutil/IterateReplacing.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 /** * Unit tests for the iterateReplacing function */ diff --git a/test/libsolutil/JSON.cpp b/test/libsolutil/JSON.cpp index d0e86c3c7..666397877 100644 --- a/test/libsolutil/JSON.cpp +++ b/test/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 /** * @date 2018 * Unit tests for JSON.h. diff --git a/test/libsolutil/Keccak256.cpp b/test/libsolutil/Keccak256.cpp index bad8510c5..17de6c885 100644 --- a/test/libsolutil/Keccak256.cpp +++ b/test/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 /** * Unit tests for keccak256. */ diff --git a/test/libsolutil/LazyInit.cpp b/test/libsolutil/LazyInit.cpp index ec170946d..51ee3ee1e 100644 --- a/test/libsolutil/LazyInit.cpp +++ b/test/libsolutil/LazyInit.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/libsolutil/StringUtils.cpp b/test/libsolutil/StringUtils.cpp index a9c03acd9..f678c0da7 100644 --- a/test/libsolutil/StringUtils.cpp +++ b/test/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 /** * Unit tests for the StringUtils routines. */ diff --git a/test/libsolutil/SwarmHash.cpp b/test/libsolutil/SwarmHash.cpp index cacb04adf..3b13cd382 100644 --- a/test/libsolutil/SwarmHash.cpp +++ b/test/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 /** * Unit tests for the swarm hash computation routine. */ diff --git a/test/libsolutil/UTF8.cpp b/test/libsolutil/UTF8.cpp index 94ec6c6d7..d6a14bcff 100644 --- a/test/libsolutil/UTF8.cpp +++ b/test/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 /** * Unit tests for UTF-8 validation. */ diff --git a/test/libsolutil/Whiskers.cpp b/test/libsolutil/Whiskers.cpp index 3ed87acb9..1cc889127 100644 --- a/test/libsolutil/Whiskers.cpp +++ b/test/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 /** * Unit tests for the mini moustache class. */ diff --git a/test/libyul/EwasmTranslationTest.cpp b/test/libyul/EwasmTranslationTest.cpp index 9ef203dd0..dd732f9a8 100644 --- a/test/libyul/EwasmTranslationTest.cpp +++ b/test/libyul/EwasmTranslationTest.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/libyul/EwasmTranslationTest.h b/test/libyul/EwasmTranslationTest.h index e0a90482b..f6307bdbc 100644 --- a/test/libyul/EwasmTranslationTest.h +++ b/test/libyul/EwasmTranslationTest.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/libyul/FunctionSideEffects.cpp b/test/libyul/FunctionSideEffects.cpp index aa7d1e503..56051ffdd 100644 --- a/test/libyul/FunctionSideEffects.cpp +++ b/test/libyul/FunctionSideEffects.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/libyul/FunctionSideEffects.h b/test/libyul/FunctionSideEffects.h index 23bebebcc..ac0653733 100644 --- a/test/libyul/FunctionSideEffects.h +++ b/test/libyul/FunctionSideEffects.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/libyul/Inliner.cpp b/test/libyul/Inliner.cpp index de47f4885..f44d86618 100644 --- a/test/libyul/Inliner.cpp +++ b/test/libyul/Inliner.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 * Unit tests for the Yul function inliner. diff --git a/test/libyul/ObjectCompilerTest.cpp b/test/libyul/ObjectCompilerTest.cpp index 4b34da7b1..950c0210f 100644 --- a/test/libyul/ObjectCompilerTest.cpp +++ b/test/libyul/ObjectCompilerTest.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/libyul/ObjectCompilerTest.h b/test/libyul/ObjectCompilerTest.h index 4a1c75486..85a46a1cf 100644 --- a/test/libyul/ObjectCompilerTest.h +++ b/test/libyul/ObjectCompilerTest.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/libyul/SyntaxTest.cpp b/test/libyul/SyntaxTest.cpp index 944ceaf33..bb0751b82 100644 --- a/test/libyul/SyntaxTest.cpp +++ b/test/libyul/SyntaxTest.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/libyul/SyntaxTest.h b/test/libyul/SyntaxTest.h index 342aa2845..7234e1f2c 100644 --- a/test/libyul/SyntaxTest.h +++ b/test/libyul/SyntaxTest.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/libyul/YulInterpreterTest.cpp b/test/libyul/YulInterpreterTest.cpp index fa84c0869..78e815785 100644 --- a/test/libyul/YulInterpreterTest.cpp +++ b/test/libyul/YulInterpreterTest.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/libyul/YulInterpreterTest.h b/test/libyul/YulInterpreterTest.h index ee60abe17..88e535fb0 100644 --- a/test/libyul/YulInterpreterTest.h +++ b/test/libyul/YulInterpreterTest.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/libyul/YulOptimizerTest.cpp b/test/libyul/YulOptimizerTest.cpp index 95d7bee64..436c46a65 100644 --- a/test/libyul/YulOptimizerTest.cpp +++ b/test/libyul/YulOptimizerTest.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/libyul/YulOptimizerTest.h b/test/libyul/YulOptimizerTest.h index 3d351c3a2..5bba65682 100644 --- a/test/libyul/YulOptimizerTest.h +++ b/test/libyul/YulOptimizerTest.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/tools/IsolTestOptions.cpp b/test/tools/IsolTestOptions.cpp index 28552a86a..84e2babe9 100644 --- a/test/tools/IsolTestOptions.cpp +++ b/test/tools/IsolTestOptions.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 IsolTestOptions.cpp * @date 2019 */ diff --git a/test/tools/IsolTestOptions.h b/test/tools/IsolTestOptions.h index 93d365191..118ac95d3 100644 --- a/test/tools/IsolTestOptions.h +++ b/test/tools/IsolTestOptions.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 IsolTestOptions.h */ diff --git a/test/tools/afl_fuzzer.cpp b/test/tools/afl_fuzzer.cpp index 81c3a2bfc..ea4a5a828 100644 --- a/test/tools/afl_fuzzer.cpp +++ b/test/tools/afl_fuzzer.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 /** * Executable for use with AFL . */ diff --git a/test/tools/fuzzer_common.cpp b/test/tools/fuzzer_common.cpp index ac2e13775..437ab5d22 100644 --- a/test/tools/fuzzer_common.cpp +++ b/test/tools/fuzzer_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 diff --git a/test/tools/fuzzer_common.h b/test/tools/fuzzer_common.h index 801c8c1c1..c8749d9b1 100644 --- a/test/tools/fuzzer_common.h +++ b/test/tools/fuzzer_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 #include diff --git a/test/tools/isoltest.cpp b/test/tools/isoltest.cpp index 07802edf1..3bdb16b0f 100644 --- a/test/tools/isoltest.cpp +++ b/test/tools/isoltest.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/tools/ossfuzz/abiV2Proto.proto b/test/tools/ossfuzz/abiV2Proto.proto index b581c9904..b6640bbe9 100644 --- a/test/tools/ossfuzz/abiV2Proto.proto +++ b/test/tools/ossfuzz/abiV2Proto.proto @@ -14,6 +14,7 @@ You should have received a copy of the GNU General Public License along with solidity. If not, see . */ +// SPDX-License-Identifier: GPL-3.0 syntax = "proto2"; diff --git a/test/tools/ossfuzz/abiV2ProtoFuzzer.cpp b/test/tools/ossfuzz/abiV2ProtoFuzzer.cpp index 89d5a3566..8c529630f 100644 --- a/test/tools/ossfuzz/abiV2ProtoFuzzer.cpp +++ b/test/tools/ossfuzz/abiV2ProtoFuzzer.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/tools/ossfuzz/const_opt_ossfuzz.cpp b/test/tools/ossfuzz/const_opt_ossfuzz.cpp index 13ceb8408..60b1febbc 100644 --- a/test/tools/ossfuzz/const_opt_ossfuzz.cpp +++ b/test/tools/ossfuzz/const_opt_ossfuzz.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/tools/ossfuzz/protoToSol.cpp b/test/tools/ossfuzz/protoToSol.cpp index aefbb41b9..73ed34b0d 100644 --- a/test/tools/ossfuzz/protoToSol.cpp +++ b/test/tools/ossfuzz/protoToSol.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/tools/ossfuzz/protoToSol.h b/test/tools/ossfuzz/protoToSol.h index de2220752..39f830528 100644 --- a/test/tools/ossfuzz/protoToSol.h +++ b/test/tools/ossfuzz/protoToSol.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/test/tools/ossfuzz/protoToYul.cpp b/test/tools/ossfuzz/protoToYul.cpp index 5d19d470c..1d78dc802 100644 --- a/test/tools/ossfuzz/protoToYul.cpp +++ b/test/tools/ossfuzz/protoToYul.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/tools/ossfuzz/protoToYul.h b/test/tools/ossfuzz/protoToYul.h index 950dd97a9..9b8de1480 100644 --- a/test/tools/ossfuzz/protoToYul.h +++ b/test/tools/ossfuzz/protoToYul.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 diff --git a/test/tools/ossfuzz/solProto.proto b/test/tools/ossfuzz/solProto.proto index 86e938c7c..59d989cf9 100644 --- a/test/tools/ossfuzz/solProto.proto +++ b/test/tools/ossfuzz/solProto.proto @@ -14,6 +14,7 @@ You should have received a copy of the GNU General Public License along with solidity. If not, see . */ +// SPDX-License-Identifier: GPL-3.0 syntax = "proto2"; diff --git a/test/tools/ossfuzz/solProtoFuzzer.cpp b/test/tools/ossfuzz/solProtoFuzzer.cpp index 663a94d36..e9e77dcc4 100644 --- a/test/tools/ossfuzz/solProtoFuzzer.cpp +++ b/test/tools/ossfuzz/solProtoFuzzer.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/tools/ossfuzz/solc_noopt_ossfuzz.cpp b/test/tools/ossfuzz/solc_noopt_ossfuzz.cpp index efed3769f..e2f3a294f 100644 --- a/test/tools/ossfuzz/solc_noopt_ossfuzz.cpp +++ b/test/tools/ossfuzz/solc_noopt_ossfuzz.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/tools/ossfuzz/solc_opt_ossfuzz.cpp b/test/tools/ossfuzz/solc_opt_ossfuzz.cpp index fc431ffe5..bff19407f 100644 --- a/test/tools/ossfuzz/solc_opt_ossfuzz.cpp +++ b/test/tools/ossfuzz/solc_opt_ossfuzz.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/tools/ossfuzz/strictasm_assembly_ossfuzz.cpp b/test/tools/ossfuzz/strictasm_assembly_ossfuzz.cpp index b9373a301..458bde745 100644 --- a/test/tools/ossfuzz/strictasm_assembly_ossfuzz.cpp +++ b/test/tools/ossfuzz/strictasm_assembly_ossfuzz.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/tools/ossfuzz/strictasm_diff_ossfuzz.cpp b/test/tools/ossfuzz/strictasm_diff_ossfuzz.cpp index b4211dfc9..bd6d249b3 100644 --- a/test/tools/ossfuzz/strictasm_diff_ossfuzz.cpp +++ b/test/tools/ossfuzz/strictasm_diff_ossfuzz.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/tools/ossfuzz/strictasm_opt_ossfuzz.cpp b/test/tools/ossfuzz/strictasm_opt_ossfuzz.cpp index a8378f72e..646e6ea6a 100644 --- a/test/tools/ossfuzz/strictasm_opt_ossfuzz.cpp +++ b/test/tools/ossfuzz/strictasm_opt_ossfuzz.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/tools/ossfuzz/yulFuzzerCommon.cpp b/test/tools/ossfuzz/yulFuzzerCommon.cpp index 3682eef48..86cea8327 100644 --- a/test/tools/ossfuzz/yulFuzzerCommon.cpp +++ b/test/tools/ossfuzz/yulFuzzerCommon.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 using namespace std; diff --git a/test/tools/ossfuzz/yulFuzzerCommon.h b/test/tools/ossfuzz/yulFuzzerCommon.h index 08e17e381..cc20d6163 100644 --- a/test/tools/ossfuzz/yulFuzzerCommon.h +++ b/test/tools/ossfuzz/yulFuzzerCommon.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 diff --git a/test/tools/ossfuzz/yulProto.proto b/test/tools/ossfuzz/yulProto.proto index 3180b421a..d87d067f2 100644 --- a/test/tools/ossfuzz/yulProto.proto +++ b/test/tools/ossfuzz/yulProto.proto @@ -14,6 +14,7 @@ You should have received a copy of the GNU General Public License along with solidity. If not, see . */ +// SPDX-License-Identifier: GPL-3.0 syntax = "proto2"; diff --git a/test/tools/ossfuzz/yulProtoFuzzer.cpp b/test/tools/ossfuzz/yulProtoFuzzer.cpp index cc0205d16..1095994bf 100644 --- a/test/tools/ossfuzz/yulProtoFuzzer.cpp +++ b/test/tools/ossfuzz/yulProtoFuzzer.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/tools/ossfuzz/yulProto_diff_ossfuzz.cpp b/test/tools/ossfuzz/yulProto_diff_ossfuzz.cpp index e5e6b203f..4c8ddb94f 100644 --- a/test/tools/ossfuzz/yulProto_diff_ossfuzz.cpp +++ b/test/tools/ossfuzz/yulProto_diff_ossfuzz.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/tools/yulInterpreter/EVMInstructionInterpreter.cpp b/test/tools/yulInterpreter/EVMInstructionInterpreter.cpp index 956db124f..cda99f1de 100644 --- a/test/tools/yulInterpreter/EVMInstructionInterpreter.cpp +++ b/test/tools/yulInterpreter/EVMInstructionInterpreter.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 interpreter module that evaluates EVM instructions. */ diff --git a/test/tools/yulInterpreter/EVMInstructionInterpreter.h b/test/tools/yulInterpreter/EVMInstructionInterpreter.h index 02104178b..05d27df96 100644 --- a/test/tools/yulInterpreter/EVMInstructionInterpreter.h +++ b/test/tools/yulInterpreter/EVMInstructionInterpreter.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 interpreter module that evaluates EVM instructions. */ diff --git a/test/tools/yulInterpreter/EwasmBuiltinInterpreter.cpp b/test/tools/yulInterpreter/EwasmBuiltinInterpreter.cpp index 0f6524df6..61c7b4817 100644 --- a/test/tools/yulInterpreter/EwasmBuiltinInterpreter.cpp +++ b/test/tools/yulInterpreter/EwasmBuiltinInterpreter.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 interpreter module that evaluates Ewasm builtins. */ diff --git a/test/tools/yulInterpreter/EwasmBuiltinInterpreter.h b/test/tools/yulInterpreter/EwasmBuiltinInterpreter.h index 62b6bc024..78cf9216e 100644 --- a/test/tools/yulInterpreter/EwasmBuiltinInterpreter.h +++ b/test/tools/yulInterpreter/EwasmBuiltinInterpreter.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 interpreter module that evaluates Ewasm builtins. */ diff --git a/test/tools/yulInterpreter/Interpreter.cpp b/test/tools/yulInterpreter/Interpreter.cpp index cd4fa5d69..ba946e732 100644 --- a/test/tools/yulInterpreter/Interpreter.cpp +++ b/test/tools/yulInterpreter/Interpreter.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 interpreter. */ diff --git a/test/tools/yulInterpreter/Interpreter.h b/test/tools/yulInterpreter/Interpreter.h index 3c9619d21..a52c098ed 100644 --- a/test/tools/yulInterpreter/Interpreter.h +++ b/test/tools/yulInterpreter/Interpreter.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 interpreter. */ diff --git a/test/tools/yulopti.cpp b/test/tools/yulopti.cpp index 9f5d56085..e4605d10f 100644 --- a/test/tools/yulopti.cpp +++ b/test/tools/yulopti.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 /** * Interactive yul optimizer */ diff --git a/test/tools/yulrun.cpp b/test/tools/yulrun.cpp index 494115540..e682e98ba 100644 --- a/test/tools/yulrun.cpp +++ b/test/tools/yulrun.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 interpreter. */ diff --git a/test/yulPhaser/AlgorithmRunner.cpp b/test/yulPhaser/AlgorithmRunner.cpp index 0cd731aef..cb8f7633e 100644 --- a/test/yulPhaser/AlgorithmRunner.cpp +++ b/test/yulPhaser/AlgorithmRunner.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/yulPhaser/Chromosome.cpp b/test/yulPhaser/Chromosome.cpp index 94b95d82c..ecf754e8e 100644 --- a/test/yulPhaser/Chromosome.cpp +++ b/test/yulPhaser/Chromosome.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/yulPhaser/Common.cpp b/test/yulPhaser/Common.cpp index b24143a94..417b9ce3c 100644 --- a/test/yulPhaser/Common.cpp +++ b/test/yulPhaser/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 diff --git a/test/yulPhaser/FitnessMetrics.cpp b/test/yulPhaser/FitnessMetrics.cpp index 73a92fb40..7c1ae2d96 100644 --- a/test/yulPhaser/FitnessMetrics.cpp +++ b/test/yulPhaser/FitnessMetrics.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/yulPhaser/GeneticAlgorithms.cpp b/test/yulPhaser/GeneticAlgorithms.cpp index 473a6c009..cfac86db0 100644 --- a/test/yulPhaser/GeneticAlgorithms.cpp +++ b/test/yulPhaser/GeneticAlgorithms.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/yulPhaser/Mutations.cpp b/test/yulPhaser/Mutations.cpp index 2d6b65c88..dfdd600a3 100644 --- a/test/yulPhaser/Mutations.cpp +++ b/test/yulPhaser/Mutations.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/yulPhaser/PairSelections.cpp b/test/yulPhaser/PairSelections.cpp index a63704cf5..f3d13a5b3 100644 --- a/test/yulPhaser/PairSelections.cpp +++ b/test/yulPhaser/PairSelections.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/yulPhaser/Phaser.cpp b/test/yulPhaser/Phaser.cpp index f1e0fd96a..673c43824 100644 --- a/test/yulPhaser/Phaser.cpp +++ b/test/yulPhaser/Phaser.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/yulPhaser/Population.cpp b/test/yulPhaser/Population.cpp index fb6d45940..955ccc49b 100644 --- a/test/yulPhaser/Population.cpp +++ b/test/yulPhaser/Population.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/yulPhaser/Program.cpp b/test/yulPhaser/Program.cpp index d951c4e4e..b7dd1f8ed 100644 --- a/test/yulPhaser/Program.cpp +++ b/test/yulPhaser/Program.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/yulPhaser/ProgramCache.cpp b/test/yulPhaser/ProgramCache.cpp index da4b7c18c..7fb74fca9 100644 --- a/test/yulPhaser/ProgramCache.cpp +++ b/test/yulPhaser/ProgramCache.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/yulPhaser/Selections.cpp b/test/yulPhaser/Selections.cpp index 7fdea6192..e5ef00327 100644 --- a/test/yulPhaser/Selections.cpp +++ b/test/yulPhaser/Selections.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/yulPhaser/SimulationRNG.cpp b/test/yulPhaser/SimulationRNG.cpp index 306074b3c..36a04612e 100644 --- a/test/yulPhaser/SimulationRNG.cpp +++ b/test/yulPhaser/SimulationRNG.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/yulPhaser/TestHelpers.cpp b/test/yulPhaser/TestHelpers.cpp index 2f4b40b02..348973a48 100644 --- a/test/yulPhaser/TestHelpers.cpp +++ b/test/yulPhaser/TestHelpers.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/yulPhaser/TestHelpers.h b/test/yulPhaser/TestHelpers.h index 514d2eda7..732e4ec7a 100644 --- a/test/yulPhaser/TestHelpers.h +++ b/test/yulPhaser/TestHelpers.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 yul-phaser's test cases. * diff --git a/test/yulPhaser/TestHelpersTest.cpp b/test/yulPhaser/TestHelpersTest.cpp index 09b722517..b90d65f5e 100644 --- a/test/yulPhaser/TestHelpersTest.cpp +++ b/test/yulPhaser/TestHelpersTest.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/tools/solidityUpgrade/SourceTransform.h b/tools/solidityUpgrade/SourceTransform.h index a33a1d97e..571811983 100644 --- a/tools/solidityUpgrade/SourceTransform.h +++ b/tools/solidityUpgrade/SourceTransform.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/tools/solidityUpgrade/SourceUpgrade.cpp b/tools/solidityUpgrade/SourceUpgrade.cpp index 7005fd336..5379f4b70 100644 --- a/tools/solidityUpgrade/SourceUpgrade.cpp +++ b/tools/solidityUpgrade/SourceUpgrade.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/tools/solidityUpgrade/SourceUpgrade.h b/tools/solidityUpgrade/SourceUpgrade.h index 9ace60e57..e5ad378b3 100644 --- a/tools/solidityUpgrade/SourceUpgrade.h +++ b/tools/solidityUpgrade/SourceUpgrade.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/tools/solidityUpgrade/Upgrade050.cpp b/tools/solidityUpgrade/Upgrade050.cpp index 18a495080..8e1a2f027 100644 --- a/tools/solidityUpgrade/Upgrade050.cpp +++ b/tools/solidityUpgrade/Upgrade050.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/tools/solidityUpgrade/Upgrade050.h b/tools/solidityUpgrade/Upgrade050.h index 58670e7b2..a678b04e5 100644 --- a/tools/solidityUpgrade/Upgrade050.h +++ b/tools/solidityUpgrade/Upgrade050.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/tools/solidityUpgrade/Upgrade060.cpp b/tools/solidityUpgrade/Upgrade060.cpp index 30214ddfc..58aa94d15 100644 --- a/tools/solidityUpgrade/Upgrade060.cpp +++ b/tools/solidityUpgrade/Upgrade060.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/tools/solidityUpgrade/Upgrade060.h b/tools/solidityUpgrade/Upgrade060.h index e2386d104..9a8880b96 100644 --- a/tools/solidityUpgrade/Upgrade060.h +++ b/tools/solidityUpgrade/Upgrade060.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/tools/solidityUpgrade/UpgradeChange.cpp b/tools/solidityUpgrade/UpgradeChange.cpp index a897a4e13..a4036f775 100644 --- a/tools/solidityUpgrade/UpgradeChange.cpp +++ b/tools/solidityUpgrade/UpgradeChange.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/tools/solidityUpgrade/UpgradeSuite.h b/tools/solidityUpgrade/UpgradeSuite.h index b9b094e70..33aeb40eb 100644 --- a/tools/solidityUpgrade/UpgradeSuite.h +++ b/tools/solidityUpgrade/UpgradeSuite.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/tools/solidityUpgrade/main.cpp b/tools/solidityUpgrade/main.cpp index 0f2b7a473..d13639b9a 100644 --- a/tools/solidityUpgrade/main.cpp +++ b/tools/solidityUpgrade/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 #include #include diff --git a/tools/yulPhaser/AlgorithmRunner.cpp b/tools/yulPhaser/AlgorithmRunner.cpp index 402735e0d..d5ad75575 100644 --- a/tools/yulPhaser/AlgorithmRunner.cpp +++ b/tools/yulPhaser/AlgorithmRunner.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/tools/yulPhaser/AlgorithmRunner.h b/tools/yulPhaser/AlgorithmRunner.h index 4326ce227..71f71bb3d 100644 --- a/tools/yulPhaser/AlgorithmRunner.h +++ b/tools/yulPhaser/AlgorithmRunner.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 /** * Contains the implementation of a class that manages the execution of a genetic algorithm. */ diff --git a/tools/yulPhaser/Chromosome.cpp b/tools/yulPhaser/Chromosome.cpp index 832c2cf80..453c62d39 100644 --- a/tools/yulPhaser/Chromosome.cpp +++ b/tools/yulPhaser/Chromosome.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/tools/yulPhaser/Chromosome.h b/tools/yulPhaser/Chromosome.h index 7d8f1b912..95f3ae58e 100644 --- a/tools/yulPhaser/Chromosome.h +++ b/tools/yulPhaser/Chromosome.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/tools/yulPhaser/Common.cpp b/tools/yulPhaser/Common.cpp index aa7ba85b5..a23210172 100644 --- a/tools/yulPhaser/Common.cpp +++ b/tools/yulPhaser/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 diff --git a/tools/yulPhaser/Common.h b/tools/yulPhaser/Common.h index c37afa2fb..b2164cc9e 100644 --- a/tools/yulPhaser/Common.h +++ b/tools/yulPhaser/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 yul-phaser. */ diff --git a/tools/yulPhaser/Exceptions.h b/tools/yulPhaser/Exceptions.h index 6807d7180..e4aa19b52 100644 --- a/tools/yulPhaser/Exceptions.h +++ b/tools/yulPhaser/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/tools/yulPhaser/FitnessMetrics.cpp b/tools/yulPhaser/FitnessMetrics.cpp index 134c13dfc..66c79fda2 100644 --- a/tools/yulPhaser/FitnessMetrics.cpp +++ b/tools/yulPhaser/FitnessMetrics.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/tools/yulPhaser/FitnessMetrics.h b/tools/yulPhaser/FitnessMetrics.h index 50f4c896f..f881df7a5 100644 --- a/tools/yulPhaser/FitnessMetrics.h +++ b/tools/yulPhaser/FitnessMetrics.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 /** * Contains an abstract base class representing a fitness metric and its concrete implementations. */ diff --git a/tools/yulPhaser/GeneticAlgorithms.cpp b/tools/yulPhaser/GeneticAlgorithms.cpp index 4a90503aa..907703738 100644 --- a/tools/yulPhaser/GeneticAlgorithms.cpp +++ b/tools/yulPhaser/GeneticAlgorithms.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/tools/yulPhaser/GeneticAlgorithms.h b/tools/yulPhaser/GeneticAlgorithms.h index f6c809a8b..58dc83b95 100644 --- a/tools/yulPhaser/GeneticAlgorithms.h +++ b/tools/yulPhaser/GeneticAlgorithms.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 /** * Contains an abstract base class representing a genetic algorithm and its concrete implementations. */ diff --git a/tools/yulPhaser/Mutations.cpp b/tools/yulPhaser/Mutations.cpp index f2876e395..f9d51744e 100644 --- a/tools/yulPhaser/Mutations.cpp +++ b/tools/yulPhaser/Mutations.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/tools/yulPhaser/Mutations.h b/tools/yulPhaser/Mutations.h index 04e7050af..abdc4b10c 100644 --- a/tools/yulPhaser/Mutations.h +++ b/tools/yulPhaser/Mutations.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 /** * Mutation and crossover operators for use in genetic algorithms. */ diff --git a/tools/yulPhaser/PairSelections.cpp b/tools/yulPhaser/PairSelections.cpp index 8934c3e17..cce99cef5 100644 --- a/tools/yulPhaser/PairSelections.cpp +++ b/tools/yulPhaser/PairSelections.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/tools/yulPhaser/PairSelections.h b/tools/yulPhaser/PairSelections.h index a80fff897..2a4144bcb 100644 --- a/tools/yulPhaser/PairSelections.h +++ b/tools/yulPhaser/PairSelections.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 /** * Contains an abstract base class representing a selection of pairs of elements from a collection * and its concrete implementations. diff --git a/tools/yulPhaser/Phaser.cpp b/tools/yulPhaser/Phaser.cpp index 731560fe6..589ff93a8 100644 --- a/tools/yulPhaser/Phaser.cpp +++ b/tools/yulPhaser/Phaser.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/tools/yulPhaser/Phaser.h b/tools/yulPhaser/Phaser.h index 8ba5fc938..20a47a3a5 100644 --- a/tools/yulPhaser/Phaser.h +++ b/tools/yulPhaser/Phaser.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 /** * Contains the main class that controls yul-phaser based on command-line parameters and * associated factories for building instances of phaser's components. diff --git a/tools/yulPhaser/Population.cpp b/tools/yulPhaser/Population.cpp index 1b846122e..c4b506369 100644 --- a/tools/yulPhaser/Population.cpp +++ b/tools/yulPhaser/Population.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/tools/yulPhaser/Population.h b/tools/yulPhaser/Population.h index c405f702c..b8cde75cc 100644 --- a/tools/yulPhaser/Population.h +++ b/tools/yulPhaser/Population.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/tools/yulPhaser/Program.cpp b/tools/yulPhaser/Program.cpp index 2fd29f51a..a1d79f75a 100644 --- a/tools/yulPhaser/Program.cpp +++ b/tools/yulPhaser/Program.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/tools/yulPhaser/Program.h b/tools/yulPhaser/Program.h index b96843ee4..12026805b 100644 --- a/tools/yulPhaser/Program.h +++ b/tools/yulPhaser/Program.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/tools/yulPhaser/ProgramCache.cpp b/tools/yulPhaser/ProgramCache.cpp index b174ad07f..351532aa7 100644 --- a/tools/yulPhaser/ProgramCache.cpp +++ b/tools/yulPhaser/ProgramCache.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/tools/yulPhaser/ProgramCache.h b/tools/yulPhaser/ProgramCache.h index 25c796a3d..d0e51a37e 100644 --- a/tools/yulPhaser/ProgramCache.h +++ b/tools/yulPhaser/ProgramCache.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/tools/yulPhaser/Selections.cpp b/tools/yulPhaser/Selections.cpp index 920a7d7f1..e34c80eaf 100644 --- a/tools/yulPhaser/Selections.cpp +++ b/tools/yulPhaser/Selections.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/tools/yulPhaser/Selections.h b/tools/yulPhaser/Selections.h index a0ed2657f..a643b9a22 100644 --- a/tools/yulPhaser/Selections.h +++ b/tools/yulPhaser/Selections.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 /** * Contains an abstract base class representing a selection of elements from a collection * and its concrete implementations. diff --git a/tools/yulPhaser/SimulationRNG.cpp b/tools/yulPhaser/SimulationRNG.cpp index 26f438909..7a73f81ad 100644 --- a/tools/yulPhaser/SimulationRNG.cpp +++ b/tools/yulPhaser/SimulationRNG.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/tools/yulPhaser/SimulationRNG.h b/tools/yulPhaser/SimulationRNG.h index d16189f9e..7e5cc1442 100644 --- a/tools/yulPhaser/SimulationRNG.h +++ b/tools/yulPhaser/SimulationRNG.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/tools/yulPhaser/main.cpp b/tools/yulPhaser/main.cpp index d0c00fcda..1ec936dd4 100644 --- a/tools/yulPhaser/main.cpp +++ b/tools/yulPhaser/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 #include #include