Changeset View
Changeset View
Standalone View
Standalone View
languages/clang/duchain/clangindex.h
Show All 40 Lines | |||||
41 | { | 41 | { | ||
42 | public: | 42 | public: | ||
43 | ClangIndex(); | 43 | ClangIndex(); | ||
44 | ~ClangIndex(); | 44 | ~ClangIndex(); | ||
45 | 45 | | |||
46 | CXIndex index() const; | 46 | CXIndex index() const; | ||
47 | 47 | | |||
48 | /** | 48 | /** | ||
49 | * @returns the existing ClangPCH for the @param pchInclude | 49 | * @returns the existing ClangPCH for @p environment | ||
50 | * The PCH is created using @param includePaths and @param defines if it doesn't exist | 50 | * | ||
51 | * The PCH is created using @p environment if it doesn't exist | ||||
51 | * This function is thread safe. | 52 | * This function is thread safe. | ||
52 | */ | 53 | */ | ||
53 | QSharedPointer<const ClangPCH> pch(const ClangParsingEnvironment& defines); | 54 | QSharedPointer<const ClangPCH> pch(const ClangParsingEnvironment& environment); | ||
54 | 55 | | |||
55 | /** | 56 | /** | ||
56 | * Gets the currently pinned TU for @p url | 57 | * Gets the currently pinned TU for @p url | ||
57 | * | 58 | * | ||
58 | * If the currently pinned TU does not import @p url, @p url is returned | 59 | * If the currently pinned TU does not import @p url, @p url is returned | ||
59 | */ | 60 | */ | ||
60 | KDevelop::IndexedString translationUnitForUrl(const KDevelop::IndexedString& url); | 61 | KDevelop::IndexedString translationUnitForUrl(const KDevelop::IndexedString& url); | ||
61 | 62 | | |||
Show All 21 Lines |