clang API Documentation

Defines | Enumerations | Functions
Mangle.cpp File Reference
#include "clang/AST/Attr.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/ExprCXX.h"
#include "clang/AST/Mangle.h"
#include "clang/Basic/ABI.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for Mangle.cpp:

Go to the source code of this file.

Defines

#define MANGLE_CHECKER   0

Enumerations

enum  CCMangling { CCM_Other, CCM_Fast, CCM_Vector, CCM_Std }

Functions

static void mangleFunctionBlock (MangleContext &Context, StringRef Outer, const BlockDecl *BD, raw_ostream &Out)
static bool isExternC (const NamedDecl *ND)
static CCMangling getCallingConvMangling (const ASTContext &Context, const NamedDecl *ND)

Define Documentation

#define MANGLE_CHECKER   0

Definition at line 28 of file Mangle.cpp.


Enumeration Type Documentation

enum CCMangling
Enumerator:
CCM_Other 
CCM_Fast 
CCM_Vector 
CCM_Std 

Definition at line 52 of file Mangle.cpp.


Function Documentation

static CCMangling getCallingConvMangling ( const ASTContext Context,
const NamedDecl ND 
) [static]
static bool isExternC ( const NamedDecl ND) [static]

Definition at line 59 of file Mangle.cpp.

Referenced by getCallingConvMangling().

static void mangleFunctionBlock ( MangleContext Context,
StringRef  Outer,
const BlockDecl BD,
raw_ostream &  Out 
) [static]