[clang] [NFC] Cleanup comments in HLSLExternalSemaSource.cpp (PR #119444)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 10 11:47:48 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-hlsl
@llvm/pr-subscribers-clang
Author: Joshua Batista (bob80905)
<details>
<summary>Changes</summary>
Cleaning up some comments that @<!-- -->bogner pointed out were unpolished.
---
Full diff: https://github.com/llvm/llvm-project/pull/119444.diff
1 Files Affected:
- (modified) clang/lib/Sema/HLSLExternalSemaSource.cpp (+1-1)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/119444
More information about the cfe-commits
mailing list