Skip to content

Commit 7d9c6a6

Browse files
Michael137zeroomega
authored andcommitted
fixup! make helper static
1 parent 4792971 commit 7d9c6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static uint32_t getDeclAlignIfRequired(const Decl *D, const ASTContext &Ctx) {
6969
return D->hasAttr<AlignedAttr>() ? D->getMaxAlignment() : 0;
7070
}
7171

72-
APValue const *evaluateConstantInitializer(clang::VarDecl const *VD) {
72+
static APValue const *evaluateConstantInitializer(clang::VarDecl const *VD) {
7373
assert(VD != nullptr);
7474

7575
VD = VD->getCanonicalDecl();

0 commit comments

Comments
 (0)