aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/include/llvm/LTO/legacy
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2022-01-27 22:17:16 +0000
committerDimitry Andric <dim@FreeBSD.org>2022-05-14 11:44:34 +0000
commit04eeddc0aa8e0a417a16eaf9d7d095207f4a8623 (patch)
tree2a5d3b2fe5c852e91531d128d9177754572d5338 /contrib/llvm-project/llvm/include/llvm/LTO/legacy
parent0eae32dcef82f6f06de6419a0d623d7def0cc8f6 (diff)
parent6f8fc217eaa12bf657be1c6468ed9938d10168b3 (diff)
downloadsrc-04eeddc0aa8e0a417a16eaf9d7d095207f4a8623.tar.gz
src-04eeddc0aa8e0a417a16eaf9d7d095207f4a8623.zip
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/LTO/legacy')
-rw-r--r--contrib/llvm-project/llvm/include/llvm/LTO/legacy/LTOModule.h4
-rw-r--r--contrib/llvm-project/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/LTO/legacy/LTOModule.h b/contrib/llvm-project/llvm/include/llvm/LTO/legacy/LTOModule.h
index 01e63db4bab3..1b2de3b33385 100644
--- a/contrib/llvm-project/llvm/include/llvm/LTO/legacy/LTOModule.h
+++ b/contrib/llvm-project/llvm/include/llvm/LTO/legacy/LTOModule.h
@@ -40,8 +40,8 @@ private:
struct NameAndAttributes {
StringRef name;
uint32_t attributes = 0;
- bool isFunction = 0;
- const GlobalValue *symbol = 0;
+ bool isFunction = false;
+ const GlobalValue *symbol = nullptr;
};
std::unique_ptr<LLVMContext> OwnedContext;
diff --git a/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h b/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
index b8daea9441e0..be1f3154029c 100644
--- a/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
+++ b/contrib/llvm-project/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
@@ -29,7 +29,6 @@
namespace llvm {
class StringRef;
-class LLVMContext;
class TargetMachine;
/// Helper to gather options relevant to the target machine creation