[clang] [clang][StaticAnalyzer][NFC] Fix a typo in comments (PR #125339)
Ben Shi via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 1 00:17:26 PST 2025
https://github.com/benshi001 created https://github.com/llvm/llvm-project/pull/125339
None
>From 1cfa014550c0a1c2a8bb22587afdc8b211481f95 Mon Sep 17 00:00:00 2001
From: Ben Shi <bennshi at tencent.com>
Date: Sat, 1 Feb 2025 16:16:29 +0800
Subject: [PATCH] [clang][StaticAnalyzer][NFC] Fix a typo in comments
---
.../clang/StaticAnalyzer/Core/BugReporter/BugReporter.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
index 8974342166fadd..7563d8bbd1d273 100644
--- a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
+++ b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
@@ -748,8 +748,8 @@ class BugReporterContext {
/// It can be valuable to produce tags with some bits of information and later
/// reuse them for a better diagnostic.
///
-/// Please make sure that derived class' constuctor is private and that the user
-/// can only create objects using DataTag::Factory. This also means that
+/// Please make sure that derived class' constructor is private and that the
+/// user can only create objects using DataTag::Factory. This also means that
/// DataTag::Factory should be friend for every derived class.
class DataTag : public ProgramPointTag {
public:
More information about the cfe-commits
mailing list