summaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-01-10 13:19:48 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-01-10 13:19:48 +0000
commitc2686e43c2fcd01692c0f465d6ffc741afd7d939 (patch)
treeb9a0fabb8819519f19b32f5f32cde66e180d36cb /lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
parent5a120398929f7bbbc3edac565fb785ebee888949 (diff)
downloadclang-c2686e43c2fcd01692c0f465d6ffc741afd7d939.tar.gz
Correct the spelling of helpURI to helpUri.
JSON is case sensitive and the SARIF spec uses the corrected spelling. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350817 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/SarifDiagnostics.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/SarifDiagnostics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp b/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
index 9e9690ca0b..fecbc00010 100644
--- a/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
+++ b/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
@@ -285,7 +285,7 @@ static json::Object createRule(const PathDiagnostic &Diag) {
std::string RuleURI = getRuleHelpURIStr(CheckName);
if (!RuleURI.empty())
- Ret["helpURI"] = RuleURI;
+ Ret["helpUri"] = RuleURI;
return Ret;
}