forked from andreasfertig/cppinsights
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insights.h
33 lines (27 loc) · 1.12 KB
/
Insights.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
///////////////////////////////////////////////////////////////////////////////
//
// C++ Insights, copyright (C) by Andreas Fertig
// Distributed under an MIT license. See LICENSE for details
//
///////////////////////////////////////////////////////////////////////////////
#ifndef INSIGHTS_H
#define INSIGHTS_H
//-----------------------------------------------------------------------------
namespace clang {
class ASTContext;
}
//-----------------------------------------------------------------------------
/// \brief Global C++ Insights command line options.
struct InsightsOptions
{
#define INSIGHTS_OPT(opt, name, deflt, description) bool name;
#include "InsightsOptions.def"
};
//-----------------------------------------------------------------------------
/// \brief Get the global C++ Insights options.
extern const InsightsOptions& GetInsightsOptions();
//-----------------------------------------------------------------------------
/// \brief Get access to the ASTContext
extern const clang::ASTContext& GetGlobalAST();
//-----------------------------------------------------------------------------
#endif /* INSIGHTS_H */