[PATCH] D18462: Fix for clang_Cursor_getSpellingNameRange()

Sergey Kalinichev via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 26 04:50:12 PDT 2016


skalinichev added inline comments.

================
Comment at: tools/libclang/CIndex.cpp:4311
@@ -4311,1 +4310,3 @@
+      C.kind == CXCursor_ConversionFunction ||
+      C.kind == CXCursor_FunctionDecl) {
     if (pieceIndex > 0)
----------------
What about function templates?

E.g.: template <char...> double operator "" _x();


http://reviews.llvm.org/D18462





More information about the cfe-commits mailing list