[clang] [NFC] Cleanup comments in HLSLExternalSemaSource.cpp (PR #119444)

Joshua Batista via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 10 11:47:16 PST 2024


https://github.com/bob80905 created https://github.com/llvm/llvm-project/pull/119444

Cleaning up some comments that @bogner pointed out were unpolished.

>From 3a09b73239a4b14b8704d71ad5683abdf5ff8b08 Mon Sep 17 00:00:00 2001
From: Joshua Batista <jbatista at microsoft.com>
Date: Tue, 10 Dec 2024 11:45:56 -0800
Subject: [PATCH] cleanup comments NFC

---
 clang/lib/Sema/HLSLExternalSemaSource.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Sema/HLSLExternalSemaSource.cpp b/clang/lib/Sema/HLSLExternalSemaSource.cpp
index 29672658525403..9eda5e59053e7a 100644
--- a/clang/lib/Sema/HLSLExternalSemaSource.cpp
+++ b/clang/lib/Sema/HLSLExternalSemaSource.cpp
@@ -851,7 +851,7 @@ static Expr *constructTypedBufferConstraintExpr(Sema &S, SourceLocation NameLoc,
                                                 TemplateTypeParmDecl *T) {
   ASTContext &Context = S.getASTContext();
 
-  // Obtain the QualType for 'unsigned long'
+  // Obtain the QualType for 'bool'
   QualType BoolTy = Context.BoolTy;
 
   // Create a QualType that points to this TemplateTypeParmDecl



More information about the cfe-commits mailing list