Skip to content

Commit d66a67d

Browse files
committed
self-review: remove unused Loc
1 parent 72694b7 commit d66a67d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clang/include/clang/Sema/SemaHLSL.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ class SemaHLSL : public SemaBase {
155155

156156
// Returns true when D is invalid and a diagnostic was produced
157157
bool
158-
handleRootSignatureElements(ArrayRef<hlsl::RootSignatureElement> Elements,
159-
SourceLocation Loc);
158+
handleRootSignatureElements(ArrayRef<hlsl::RootSignatureElement> Elements);
160159
void handleRootSignatureAttr(Decl *D, const ParsedAttr &AL);
161160
void handleNumThreadsAttr(Decl *D, const ParsedAttr &AL);
162161
void handleWaveSizeAttr(Decl *D, const ParsedAttr &AL);

clang/lib/Sema/SemaHLSL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ void SemaHLSL::ActOnFinishRootSignatureDecl(
10821082
}
10831083

10841084
bool SemaHLSL::handleRootSignatureElements(
1085-
ArrayRef<hlsl::RootSignatureElement> Elements, SourceLocation Loc) {
1085+
ArrayRef<hlsl::RootSignatureElement> Elements) {
10861086
// The following conducts analysis on resource ranges to detect and report
10871087
// any overlaps in resource ranges.
10881088
//

0 commit comments

Comments
 (0)