1 //===-- ClangUtil.h ---------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 // A collection of helper methods and data structures for manipulating clang
10 //===----------------------------------------------------------------------===//
12 #ifndef LLDB_SYMBOL_CLANGUTIL_H
13 #define LLDB_SYMBOL_CLANGUTIL_H
15 #include "clang/AST/Type.h"
17 #include "lldb/Symbol/CompilerType.h"
19 namespace lldb_private {
21 static bool IsClangType(const CompilerType &ct);
23 static clang::QualType GetQualType(const CompilerType &ct);
25 static clang::QualType GetCanonicalQualType(const CompilerType &ct);
27 static CompilerType RemoveFastQualifiers(const CompilerType &ct);