Changeset View
Changeset View
Standalone View
Standalone View
plugins/clang/util/clangutils.h
Show First 20 Lines • Show All 161 Lines • ▼ Show 20 Line(s) | 141 | #endif | |||
---|---|---|---|---|---|
162 | * @return Range pointing to the path-spec of the include or invalid range if there is no #include directive on the line. | 162 | * @return Range pointing to the path-spec of the include or invalid range if there is no #include directive on the line. | ||
163 | */ | 163 | */ | ||
164 | KDEVCLANGPRIVATE_EXPORT KTextEditor::Range rangeForIncludePathSpec(const QString& line, const KTextEditor::Range& originalRange = KTextEditor::Range()); | 164 | KDEVCLANGPRIVATE_EXPORT KTextEditor::Range rangeForIncludePathSpec(const QString& line, const KTextEditor::Range& originalRange = KTextEditor::Range()); | ||
165 | 165 | | |||
166 | /** | 166 | /** | ||
167 | * Returns special attributes (isFinal, isQtSlot, ...) given a @p cursor representing a CXXmethod | 167 | * Returns special attributes (isFinal, isQtSlot, ...) given a @p cursor representing a CXXmethod | ||
168 | */ | 168 | */ | ||
169 | KDevelop::ClassFunctionFlags specialAttributes(CXCursor cursor); | 169 | KDevelop::ClassFunctionFlags specialAttributes(CXCursor cursor); | ||
170 | | ||||
171 | /** | ||||
172 | * @return the top most line in a file skipping any comment block | ||||
173 | */ | ||||
174 | unsigned int skipTopCommentBlock(CXTranslationUnit unit, CXFile file); | ||||
170 | } | 175 | } | ||
171 | 176 | | |||
172 | #endif // CLANGUTILS_H | 177 | #endif // CLANGUTILS_H |