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

            Bug ID: 379537
           Summary: Client requests can't be used in C++11 constexpr
                    functions
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I'd like to use VALGRIND_CHECK_MEM_IS_DEFINED in QStringView:
https://code.woboq.org/qt5/qtbase/src/corelib/tools/qstringview.h.html#_ZN11QStringViewC1EPKT_x

But since the macro uses do { ... } while(0), it's a statement. I need an
expression, to comma-chain it into the list of assertions (which _do_ expand to
expressions, not statements).

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

Reply via email to