clang 20.0.0git
Functions
SemaFixItUtils.cpp File Reference
#include "clang/AST/ASTContext.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/ExprObjC.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Sema.h"
#include "clang/Sema/SemaFixItUtils.h"

Go to the source code of this file.

Functions

static bool isMacroDefined (const Sema &S, SourceLocation Loc, StringRef Name)
 
static std::string getScalarZeroExpressionForType (const Type &T, SourceLocation Loc, const Sema &S)
 

Function Documentation

◆ getScalarZeroExpressionForType()

static std::string getScalarZeroExpressionForType ( const Type T,
SourceLocation  Loc,
const Sema S 
)
static

◆ isMacroDefined()

static bool isMacroDefined ( const Sema S,
SourceLocation  Loc,
StringRef  Name 
)
static