Displaying 1 result from an estimated 1 matches for "reportmop".
Did you mean:
reportmode
2017 Jun 08
2
Non-standard C++ usage
...tting the middle term of a ?: expression
[-Wpedantic]
return GetReportHeaderFromTag(tag) ?: "race on external object";
^
~/workspace/LLVM/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_report.cc:
In function ‘void __tsan::PrintMop(const __tsan::ReportMop*, bool)’:
~/workspace/LLVM/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_report.cc:174:50:
warning: ISO C++ does not allow ?: with omitted middle operand
[-Wpedantic]
GetObjectTypeFromTag(mop->external_tag) ?: "external object";...