https://bugs.kde.org/show_bug.cgi?id=394200

--- Comment #3 from Kevin Funk <kf...@kde.org> ---
I think those are the spots you should look at:
```
% ag -s ClangUtils::rangeForIncludePathSpec
plugins/clang/clangsupport.cpp
102:    KTextEditor::Range wordRange =
ClangUtils::rangeForIncludePathSpec(line, pair.second);

plugins/clang/util/clangutils.cpp
79:KTextEditor::Range ClangUtils::rangeForIncludePathSpec(const QString& line,
const KTextEditor::Range& originalRange)

plugins/clang/tests/test_clangutils.cpp
273:    QCOMPARE(ClangUtils::rangeForIncludePathSpec("#include <vector>"),
KTextEditor::Range(0, 10, 0, 16));
274:    QCOMPARE(ClangUtils::rangeForIncludePathSpec("#include <foo\\\".h>"),
KTextEditor::Range(0, 10, 0, 17));
275:    QCOMPARE(ClangUtils::rangeForIncludePathSpec("#include \"foo\\\".h\""),
KTextEditor::Range(0, 10, 0, 17));
276:    QCOMPARE(ClangUtils::rangeForIncludePathSpec("#include \"foo<>.h\""),
KTextEditor::Range(0, 10, 0, 17));
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to