[llvm-branch-commits] [clang] [HLSL] Define the HLSLRootSignature Attr (PR #123985)
Helena Kotas via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Feb 5 15:22:52 PST 2025
================
@@ -647,6 +648,43 @@ void SemaHLSL::emitLogicalOperatorFixIt(Expr *LHS, Expr *RHS,
<< NewFnName << FixItHint::CreateReplacement(FullRange, OS.str());
}
+void SemaHLSL::handleRootSignatureAttr(Decl *D, const ParsedAttr &AL) {
+ using namespace llvm::hlsl::root_signature;
+ using namespace clang::hlsl;
----------------
hekota wrote:
These are usually places at the top of the file after `#include`s. If this is the only function where it is needed it might be cleaner to just use fully qualified names.
https://github.com/llvm/llvm-project/pull/123985
More information about the llvm-branch-commits
mailing list