[clang] [HLSL][RootSignature] Implement Lexing of DescriptorTables (PR #122981)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 13 13:39:29 PST 2025
================
@@ -0,0 +1,89 @@
+//===--- ParseHLSLRootSignature.h -------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the ParseHLSLRootSignature interface.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CLANG_PARSE_PARSEHLSLROOTSIGNATURE_H
+#define LLVM_CLANG_PARSE_PARSEHLSLROOTSIGNATURE_H
+
+#include "clang/AST/APValue.h"
----------------
llvm-beanz wrote:
Is this needed?
In general it is also best to prefer forward declarations in headers rather than including headers where possible to reduce compile time overhead.
https://github.com/llvm/llvm-project/pull/122981
More information about the cfe-commits
mailing list