blob: 404f8bddb75a63a64388861c0e5838fb51d6c67b [file] [log] [blame]
Douglas Gregor3556bc72009-02-13 00:10:09 +00001//===---------------------- Mangle.h - Mangle C++ Names -------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// Implements C++ name mangling according to the Itanium C++ ABI,
11// which is used in GCC 3.2 and newer (and many compilers that are
12// ABI-compatible with GCC):
13//
14// http://www.codesourcery.com/public/cxx-abi/abi.html
15//
16//===----------------------------------------------------------------------===//
17#ifndef LLVM_CLANG_CODEGEN_MANGLE_H
18#define LLVM_CLANG_CODEGEN_MANGLE_H
19
20namespace llvm {
21 class raw_ostream;
22}
23
24namespace clang {
25 class ASTContext;
26 class NamedDecl;
27
28 bool mangleName(const NamedDecl *D, ASTContext &Context,
29 llvm::raw_ostream &os);
30}
31
32#endif