File indexing completed on 2024-05-12 04:39:11
0001 /* 0002 SPDX-FileCopyrightText: 2013 Olivier de Gaalon <olivier.jg@gmail.com> 0003 SPDX-FileCopyrightText: 2015 Milian Wolff <mail@milianw.de 0004 0005 SPDX-License-Identifier: LGPL-2.0-or-later 0006 */ 0007 0008 #ifndef BUILDER_H 0009 #define BUILDER_H 0010 0011 #include "clangprivateexport.h" 0012 0013 #include "clanghelpers.h" 0014 0015 namespace Builder { 0016 0017 /** 0018 * Visit the AST in @p tu and build declarations for cursors belonging to @p file. 0019 * 0020 * @param update Set to true when an existing DUChain cache is getting updated. 0021 */ 0022 KDEVCLANGPRIVATE_EXPORT void visit(CXTranslationUnit tu, CXFile file, 0023 const IncludeFileContexts& includes, const bool update); 0024 0025 } 0026 0027 #endif //BUILDER_H