[llvm] 3f8e5fd - [NFC] Format some code in GlobalVariable.h
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 19 13:50:47 PDT 2023
Author: Arthur Eubanks
Date: 2023-10-19T13:50:28-07:00
New Revision: 3f8e5fd08f33c3e8bce464f3b866dda5210ca943
URL: https://github.com/llvm/llvm-project/commit/3f8e5fd08f33c3e8bce464f3b866dda5210ca943
DIFF: https://github.com/llvm/llvm-project/commit/3f8e5fd08f33c3e8bce464f3b866dda5210ca943.diff
LOG: [NFC] Format some code in GlobalVariable.h
Added:
Modified:
llvm/include/llvm/IR/GlobalVariable.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/GlobalVariable.h b/llvm/include/llvm/IR/GlobalVariable.h
index f915dba5c6595df..5ddffd16acc68f2 100644
--- a/llvm/include/llvm/IR/GlobalVariable.h
+++ b/llvm/include/llvm/IR/GlobalVariable.h
@@ -40,11 +40,12 @@ class GlobalVariable : public GlobalObject, public ilist_node<GlobalVariable> {
friend class SymbolTableListTraits<GlobalVariable>;
AttributeSet Attrs;
- bool isConstantGlobal : 1; // Is this a global constant?
- bool isExternallyInitializedConstant : 1; // Is this a global whose value
- // can change from its initial
- // value before global
- // initializers are run?
+
+ // Is this a global constant?
+ bool isConstantGlobal : 1;
+ // Is this a global whose value can change from its initial value before
+ // global initializers are run?
+ bool isExternallyInitializedConstant : 1;
public:
/// GlobalVariable ctor - If a parent module is specified, the global is
More information about the llvm-commits
mailing list