Changeset View
Changeset View
Standalone View
Standalone View
languages/clang/duchain/builder.h
Show All 17 Lines | |||||
18 | * along with this library; see the file COPYING.LIB. If not, write to | 18 | * along with this library; see the file COPYING.LIB. If not, write to | ||
19 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
20 | * Boston, MA 02110-1301, USA. | 20 | * Boston, MA 02110-1301, USA. | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | #ifndef BUILDER_H | 23 | #ifndef BUILDER_H | ||
24 | #define BUILDER_H | 24 | #define BUILDER_H | ||
25 | 25 | | |||
26 | #include <duchain/clangduchainexport.h> | 26 | #include "clangprivateexport.h" | ||
27 | 27 | | |||
28 | #include "clanghelpers.h" | 28 | #include "clanghelpers.h" | ||
29 | 29 | | |||
30 | namespace Builder { | 30 | namespace Builder { | ||
31 | 31 | | |||
32 | /** | 32 | /** | ||
33 | * Visit the AST in @p tu and build declarations for cursors belonging to @p file. | 33 | * Visit the AST in @p tu and build declarations for cursors belonging to @p file. | ||
34 | * | 34 | * | ||
35 | * @param update Set to true when an existing DUChain cache is getting updated. | 35 | * @param update Set to true when an existing DUChain cache is getting updated. | ||
36 | */ | 36 | */ | ||
37 | KDEVCLANGDUCHAIN_EXPORT void visit(CXTranslationUnit tu, CXFile file, | 37 | KDEVCLANGPRIVATE_EXPORT void visit(CXTranslationUnit tu, CXFile file, | ||
38 | const IncludeFileContexts& includes, const bool update); | 38 | const IncludeFileContexts& includes, const bool update); | ||
39 | 39 | | |||
40 | } | 40 | } | ||
41 | 41 | | |||
42 | #endif //BUILDER_H | 42 | #endif //BUILDER_H |