[clang] bfa7edc - [clang][StaticAnalyzer][NFC] Fix a typo in comments (#125339)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 1 00:21:51 PST 2025
Author: Ben Shi
Date: 2025-02-01T09:21:47+01:00
New Revision: bfa7edcc6652bdb37d53e0cec64926aab3f280eb
URL: https://github.com/llvm/llvm-project/commit/bfa7edcc6652bdb37d53e0cec64926aab3f280eb
DIFF: https://github.com/llvm/llvm-project/commit/bfa7edcc6652bdb37d53e0cec64926aab3f280eb.diff
LOG: [clang][StaticAnalyzer][NFC] Fix a typo in comments (#125339)
Added:
Modified:
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
Removed:
################################################################################
diff --git a/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h b/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
index 8974342166fadda..7563d8bbd1d273f 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