[llvm-bugs] [Bug 33356] New: The [[clang::xray_log_args(1)]] attribute does not apply to the implicit `this` for C++ methods

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 8 03:10:35 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33356

            Bug ID: 33356
           Summary: The [[clang::xray_log_args(1)]] attribute does not
                    apply to the implicit `this` for C++ methods
           Product: XRay
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Clang
          Assignee: dberris at google.com
          Reporter: dberris at google.com
                CC: llvm-bugs at lists.llvm.org

When the [[clang::xray_log_args(1)]] attribute is applied to a member function
with no arguments, the compiler fails with the message:

error: 'xray_log_args' attribute is invalid for the implicit this argument

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170608/8890ac1d/attachment-0001.html>


More information about the llvm-bugs mailing list