LLDB  mainline
ClangUtil.h
Go to the documentation of this file.
1 //===-- ClangUtil.h ---------------------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 // A collection of helper methods and data structures for manipulating clang
8 // types and decls.
9 //===----------------------------------------------------------------------===//
10 
11 #ifndef LLDB_SYMBOL_CLANGUTIL_H
12 #define LLDB_SYMBOL_CLANGUTIL_H
13 
14 #include "clang/AST/Type.h"
15 
17 
18 namespace clang {
19 class TagDecl;
20 }
21 
22 namespace lldb_private {
23 struct ClangUtil {
24  static bool IsClangType(const CompilerType &ct);
25 
26  static clang::QualType GetQualType(const CompilerType &ct);
27 
28  static clang::QualType GetCanonicalQualType(const CompilerType &ct);
29 
30  static CompilerType RemoveFastQualifiers(const CompilerType &ct);
31 
32  static clang::TagDecl *GetAsTagDecl(const CompilerType &type);
33 };
34 }
35 
36 #endif
Enumerations for broadcasting.
Definition: SBLaunchInfo.h:14