]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/include/lldb/Symbol/ClangUtil.h
MFV: r335802
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / include / lldb / Symbol / ClangUtil.h
1 //===-- ClangUtil.h ---------------------------------------------*- C++ -*-===//
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 // A collection of helper methods and data structures for manipulating clang
9 // types and decls.
10 //===----------------------------------------------------------------------===//
11
12 #ifndef LLDB_SYMBOL_CLANGUTIL_H
13 #define LLDB_SYMBOL_CLANGUTIL_H
14
15 #include "clang/AST/Type.h"
16
17 #include "lldb/Symbol/CompilerType.h"
18
19 namespace lldb_private {
20 struct ClangUtil {
21   static bool IsClangType(const CompilerType &ct);
22
23   static clang::QualType GetQualType(const CompilerType &ct);
24
25   static clang::QualType GetCanonicalQualType(const CompilerType &ct);
26
27   static CompilerType RemoveFastQualifiers(const CompilerType &ct);
28 };
29 }
30
31 #endif