clang 20.0.0git
|
#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) |
|
static |
Definition at line 171 of file SemaFixItUtils.cpp.
References clang::Type::isBlockPointerType(), clang::Type::isBooleanType(), clang::Type::isChar16Type(), clang::Type::isChar32Type(), clang::Type::isCharType(), clang::Type::isEnumeralType(), isMacroDefined(), clang::Type::isMemberPointerType(), clang::Type::isObjCObjectPointerType(), clang::Type::isPointerType(), clang::Type::isRealFloatingType(), clang::Type::isScalarType(), clang::Type::isWideCharType(), clang::Sema::LangOpts, Loc, and clang::T.
Referenced by clang::Sema::getFixItZeroInitializerForType(), and clang::Sema::getFixItZeroLiteralForType().
|
static |
Definition at line 166 of file SemaFixItUtils.cpp.
References clang::IdentifierTable::get(), clang::Sema::getASTContext(), clang::Preprocessor::getMacroDefinitionAtLoc(), clang::ASTContext::Idents, Loc, and clang::Sema::PP.
Referenced by getScalarZeroExpressionForType().