Skip to content

Commit bdad289

Browse files
committed
Export config file used by the clang tool used to generate the visibility macros
1 parent ebef5ee commit bdad289

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

Diff for: clang/include/export_options.json

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"version": "1",
3+
"groups": [
4+
{
5+
"name": "public_headers",
6+
"pathRoot": "clang",
7+
"headerDirectories": [
8+
"*"
9+
],
10+
"excludedDirectories": [
11+
"Testing",
12+
"DirectoryWatcher"
13+
],
14+
"ignoredFiles": [
15+
"AST/TypeLoc.h"
16+
]
17+
},
18+
{
19+
"name": "typeloc_members",
20+
"headerFiles": [ "clang/AST/TypeLoc.h" ],
21+
"exportMembers": true,
22+
"comment": "Its simpler to export individual members than solve the complex template errors from MSVC instantiating all members when the class is dll exported",
23+
"ignoredTypes": [
24+
]
25+
},
26+
{
27+
"name": "internal_headers",
28+
"pathRoot": "../lib",
29+
"headerFiles": [
30+
"Format/MatchFilePath.h",
31+
"AST/ByteCode/Program.h",
32+
"AST/ByteCode/Pointer.h",
33+
"AST/ByteCode/MemberPointer.h",
34+
"AST/ByteCode/FunctionPointer.h",
35+
"Format/FormatTokenLexer.h",
36+
"Format/TokenAnnotator.h",
37+
"Format/Macros.h",
38+
"Format/QualifierAlignmentFixer.h",
39+
"Format/UnwrappedLineParser.h",
40+
"Format/FormatToken.h",
41+
"ASTMatchers/ASTMatchersInternal.cpp"
42+
]
43+
},
44+
{
45+
"name": "source_files",
46+
"pathRoot": "../lib",
47+
"sourceDirectories": [
48+
"*"
49+
],
50+
"excludedDirectories": [
51+
"Testing"
52+
],
53+
"exportGlobalVariableDefs": true
54+
}
55+
],
56+
"exportMacroHeader": "clang/Support/Compiler.h",
57+
"exportMacro": "CLANG_ABI",
58+
"externTemplateMacro": "CLANG_TEMPLATE_ABI",
59+
"exportTemplateMacro": "CLANG_EXPORT_TEMPLATE",
60+
"externCMacro": "CLANG_C_ABI",
61+
"otherExportMacros": [
62+
"CLANG_ABI_EXPORT",
63+
"CLANG_ABI_NOT_EXPORTED"
64+
],
65+
"isGeneratingMacro": "CLANG_ABI_GENERATING_ANNOTATIONS",
66+
"clangFormatFile": "../.clang-format"
67+
}

0 commit comments

Comments
 (0)