diff options
Diffstat (limited to 'clang/lib/CodeGen/Mangle.h')
-rw-r--r-- | clang/lib/CodeGen/Mangle.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/Mangle.h b/clang/lib/CodeGen/Mangle.h new file mode 100644 index 00000000000..404f8bddb75 --- /dev/null +++ b/clang/lib/CodeGen/Mangle.h @@ -0,0 +1,32 @@ +//===---------------------- Mangle.h - Mangle C++ Names -------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// Implements C++ name mangling according to the Itanium C++ ABI, +// which is used in GCC 3.2 and newer (and many compilers that are +// ABI-compatible with GCC): +// +// http://www.codesourcery.com/public/cxx-abi/abi.html +// +//===----------------------------------------------------------------------===// +#ifndef LLVM_CLANG_CODEGEN_MANGLE_H +#define LLVM_CLANG_CODEGEN_MANGLE_H + +namespace llvm { + class raw_ostream; +} + +namespace clang { + class ASTContext; + class NamedDecl; + + bool mangleName(const NamedDecl *D, ASTContext &Context, + llvm::raw_ostream &os); +} + +#endif |