blob: 60a5113ccc9290249ea21f6417fdd2741fb13490 [file] [log] [blame]
Douglas Gregor6ec36682009-02-18 23:53:56 +00001//===--- Mangle.h - Mangle C++ Names ----------------------------*- C++ -*-===//
Douglas Gregor5f2bfd42009-02-13 00:10:09 +00002//
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