Changeset View
Changeset View
Standalone View
Standalone View
plugins/clang/duchain/clanghelpers.h
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | |||||
95 | */ | 95 | */ | ||
96 | KDEVCLANGPRIVATE_EXPORT bool isSource(const QString& path); | 96 | KDEVCLANGPRIVATE_EXPORT bool isSource(const QString& path); | ||
97 | 97 | | |||
98 | /** | 98 | /** | ||
99 | * @return True if the given file @a path has the extension of a C++ header file | 99 | * @return True if the given file @a path has the extension of a C++ header file | ||
100 | */ | 100 | */ | ||
101 | KDEVCLANGPRIVATE_EXPORT bool isHeader(const QString& path); | 101 | KDEVCLANGPRIVATE_EXPORT bool isHeader(const QString& path); | ||
102 | 102 | | |||
103 | KDEVCLANGPRIVATE_EXPORT QString clangVersion(); | ||||
104 | | ||||
103 | /** | 105 | /** | ||
104 | * @return The path containing Clang built includes (e.g. stddef.h, stdarg.h, cpuid.h) | 106 | * @return The path containing Clang built includes (e.g. stddef.h, stdarg.h, cpuid.h) | ||
105 | * | 107 | * | ||
106 | * Also see: https://clang.llvm.org/docs/FAQ.html | 108 | * Also see: https://clang.llvm.org/docs/FAQ.html | ||
107 | */ | 109 | */ | ||
108 | KDEVCLANGPRIVATE_EXPORT QString clangBuiltinIncludePath(); | 110 | KDEVCLANGPRIVATE_EXPORT QString clangBuiltinIncludePath(); | ||
109 | 111 | | |||
110 | } | 112 | } | ||
111 | 113 | | |||
112 | #endif //CLANGHELPERS_H | 114 | #endif //CLANGHELPERS_H |