Skip to content

Commit

Permalink
src: fix minor headers issues (JuliaLang#43687)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtjnash authored and LilithHafner committed Feb 22, 2022
1 parent 1c14fc2 commit 41b00d3
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions contrib/updateSPDX.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
# This file is a part of Julia. License is MIT: https://julialang.org/license
#

# SPDX-License-Identifier: MIT
# Run this script with each new Julia release to update "../julia.spdx.json"

using UUIDs
Expand Down Expand Up @@ -28,4 +28,4 @@ end

open(spdxDocument, "w") do f
JSON.print(f, spdxData, 4)
end
end
3 changes: 1 addition & 2 deletions src/codegen_shared.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
#include <llvm/IR/DebugLoc.h>
#include <llvm/IR/IRBuilder.h>
#include <llvm/IR/MDBuilder.h>
#include "julia.h"

#define STR(csym) #csym
#define XSTR(csym) STR(csym)
#include "julia.h"
#include "llvm-version.h"

enum AddressSpace {
Generic = 0,
Expand Down
5 changes: 3 additions & 2 deletions src/llvm-alloc-helpers.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#include "llvm-alloc-helpers.h"
// This file is a part of Julia. License is MIT: https://julialang.org/license

#include "llvm-version.h"
#include "llvm-alloc-helpers.h"
#include "codegen_shared.h"

#include "julia_assert.h"

using namespace llvm;
Expand Down
2 changes: 2 additions & 0 deletions src/llvm-alloc-helpers.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This file is a part of Julia. License is MIT: https://julialang.org/license

#ifndef LLVM_ALLOC_HELPERS_H
#define LLVM_ALLOC_HELPERS_H
#include <llvm-c/Types.h>
Expand Down
2 changes: 1 addition & 1 deletion src/llvm-cpufeatures.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is a part of Julia. License is MIT: https://julialang.org/license
//

// Lower intrinsics that expose subtarget information to the language. This makes it
// possible to write code that changes behavior based on, e.g., the availability of
// specific CPU features.
Expand Down
1 change: 0 additions & 1 deletion src/llvm-pass-helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "codegen_shared.h"
#include "julia_assert.h"
#include "llvm-pass-helpers.h"
#include "jl_internal_funcs.inc"

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion src/module.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// This file is a part of Julia. License is MIT: https://julialang.org/license

/*
Expand Down

0 comments on commit 41b00d3

Please sign in to comment.