clang
8.0.0
|
#include "clang/AST/TemplateBase.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/TemplateName.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeLoc.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
Go to the source code of this file.
Functions | |
static void | printIntegral (const TemplateArgument &TemplArg, raw_ostream &Out, const PrintingPolicy &Policy) |
Print a template integral argument value. More... | |
|
static |
Print a template integral argument value.
TemplArg | the TemplateArgument instance to print. |
Out | the raw_ostream instance to use for printing. |
Policy | the printing policy for EnumConstantDecl printing. |
Definition at line 53 of file TemplateBase.cpp.
References clang::Type::getAs(), clang::TemplateArgument::getAsIntegral(), clang::TemplateArgument::getIntegralType(), clang::QualType::getTypePtr(), clang::Type::isBooleanType(), clang::Type::isCharType(), and clang::PrintingPolicy::MSVCFormatting.
Referenced by clang::TemplateArgument::print().