https://llvm.org/bugs/show_bug.cgi?id=27934
Bug ID: 27934
Summary: cannot find overload for unary expression
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 16433
--> https://llvm.org/bugs/attachment.cgi?id=16433&action=edit
self-contained test case
See attached test-case.
This is a stripped down copy of a utility library from LibreOffice codebase.
code was compiled with:
clang++ -std=c++11 testcase.cxx
and generates error:
typed_flags_testcase.cxx:253:48: error: invalid argument type 'typename
o3tl::typed_flags<ComplexTextLayoutFlags>::Wrap' to unary expression
ComplexTextLayoutFlags n1(nOldLayoutMode &
~(ComplexTextLayoutFlags::ComplexDisabled|ComplexTextLayoutFlags::BiDiStrong));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs