[clang] 693d757 - Internalize a clang Sarif function
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 25 00:13:04 PDT 2024
Author: Fangrui Song
Date: 2024-07-25T00:13:00-07:00
New Revision: 693d757b63e5020e0fa78bb71fc16acdad5f8232
URL: https://github.com/llvm/llvm-project/commit/693d757b63e5020e0fa78bb71fc16acdad5f8232
DIFF: https://github.com/llvm/llvm-project/commit/693d757b63e5020e0fa78bb71fc16acdad5f8232.diff
LOG: Internalize a clang Sarif function
Added:
Modified:
clang/lib/Basic/Sarif.cpp
Removed:
################################################################################
diff --git a/clang/lib/Basic/Sarif.cpp b/clang/lib/Basic/Sarif.cpp
index 8c144df341673..980b0ae40ae22 100644
--- a/clang/lib/Basic/Sarif.cpp
+++ b/clang/lib/Basic/Sarif.cpp
@@ -141,7 +141,7 @@ static unsigned int adjustColumnPos(FullSourceLoc Loc,
/// @{
/// \internal
-json::Object createMessage(StringRef Text) {
+static json::Object createMessage(StringRef Text) {
return json::Object{{"text", Text.str()}};
}
More information about the cfe-commits
mailing list