Skip to content

Commit 6e3af13

Browse files
committed
review: touch-up comments
1 parent f7f729d commit 6e3af13

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

clang/lib/Parse/ParseDeclCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4958,7 +4958,7 @@ void Parser::ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs) {
49584958
return;
49594959
}
49604960

4961-
// Perform constructin of declaration
4961+
// Construct the declaration.
49624962
Actions.ActOnFinishRootSignatureDecl(RootSignatureLoc, DeclIdent,
49634963
RootElements);
49644964
}

clang/lib/Sema/SemaDecl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ Sema::ActOnStartRootSignatureDecl(StringRef Signature) {
660660
std::string IdStr = "__hlsl_rootsig_decl_" + std::to_string(Hash);
661661
IdentifierInfo *DeclIdent = &(getASTContext().Idents.get(IdStr));
662662

663-
// Check if we have already found a decl of the same name
663+
// Check if we have already found a decl of the same name.
664664
LookupResult R(*this, DeclIdent, SourceLocation(), Sema::LookupOrdinaryName);
665665
bool Found = LookupQualifiedName(R, this->CurContext);
666666
return {DeclIdent, Found};
@@ -669,7 +669,7 @@ Sema::ActOnStartRootSignatureDecl(StringRef Signature) {
669669
void Sema::ActOnFinishRootSignatureDecl(
670670
SourceLocation Loc, IdentifierInfo *DeclIdent,
671671
SmallVector<llvm::hlsl::rootsig::RootElement> &Elements) {
672-
// Create the Root Signature
672+
673673
auto *SignatureDecl = HLSLRootSignatureDecl::Create(
674674
getASTContext(), /*DeclContext=*/CurContext, Loc, DeclIdent, Elements);
675675

0 commit comments

Comments
 (0)