clang  17.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 dependency graph for ParseHLSL.cpp:

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