Skip to content

Commit 98eeedd

Browse files
committed
[clang][NFC] Convert NumLVComputationKindBits to a constant
1 parent a764358 commit 98eeedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/Linkage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct LVComputationKind {
4040
LLVM_PREFERRED_TYPE(bool)
4141
unsigned IgnoreAllVisibility : 1;
4242

43-
enum { NumLVComputationKindBits = 3 };
43+
static constexpr int NumLVComputationKindBits = 3;
4444

4545
explicit LVComputationKind(NamedDecl::ExplicitVisibilityKind EK)
4646
: ExplicitKind(EK), IgnoreExplicitVisibility(false),

0 commit comments

Comments
 (0)