aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/LTO/legacy/LTOModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/LTO/legacy/LTOModule.h')
-rw-r--r--llvm/include/llvm/LTO/legacy/LTOModule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/LTO/legacy/LTOModule.h b/llvm/include/llvm/LTO/legacy/LTOModule.h
index 01e63db4bab3..1b2de3b33385 100644
--- a/llvm/include/llvm/LTO/legacy/LTOModule.h
+++ b/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;