clang 20.0.0git
Functions
ParseHLSL.cpp File Reference
#include "clang/AST/Attr.h"
#include "clang/Basic/AttributeCommonInfo.h"
#include "clang/Parse/ParseDiagnostic.h"
#include "clang/Parse/Parser.h"
#include "clang/Parse/RAIIObjectsForParser.h"
#include "clang/Sema/SemaHLSL.h"

Go to the source code of this file.

Functions

static bool validateDeclsInsideHLSLBuffer (Parser::DeclGroupPtrTy DG, SourceLocation BufferLoc, bool IsCBuffer, Parser &P)
 
static void fixSeparateAttrArgAndNumber (StringRef ArgStr, SourceLocation ArgLoc, Token Tok, ArgsVector &ArgExprs, Parser &P, ASTContext &Ctx, Preprocessor &PP)
 

Function Documentation

◆ fixSeparateAttrArgAndNumber()

static void fixSeparateAttrArgAndNumber ( StringRef  ArgStr,
SourceLocation  ArgLoc,
Token  Tok,
ArgsVector ArgExprs,
Parser P,
ASTContext Ctx,
Preprocessor PP 
)
static

◆ validateDeclsInsideHLSLBuffer()

static bool validateDeclsInsideHLSLBuffer ( Parser::DeclGroupPtrTy  DG,
SourceLocation  BufferLoc,
bool  IsCBuffer,
Parser P 
)
static