Skip to content

Commit a18a96a

Browse files
MaskRayyuxuanchen1997
authored andcommitted
Internalize a clang Sarif function
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250554
1 parent e227a94 commit a18a96a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Basic/Sarif.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static unsigned int adjustColumnPos(FullSourceLoc Loc,
141141
/// @{
142142

143143
/// \internal
144-
json::Object createMessage(StringRef Text) {
144+
static json::Object createMessage(StringRef Text) {
145145
return json::Object{{"text", Text.str()}};
146146
}
147147

0 commit comments

Comments
 (0)