Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.3.1, Qt Creator 4.6.0
-
None
-
Arch Linux x86_64
extra/qtcreator 4.3.1-2
extra/clang 4.0.1-5
multilib/gcc-libs-multilib 7.1.1-4
multilib/gcc-multilib 7.1.1-4 (multilib-devel)
multilib/lib32-gcc-libs 7.1.1-4
Description
The following expression yields "Parse Issue 3079:52: error: expected '(' for function-style cast or type construction"
3077: template<typename _Tp>
3078: struct is_aggregate
3079: : bool_constant<__is_aggregate(remove_cv_t<_Tp>)> { };
The specific part causing a problem appears to be remove_cv_t<_Tp>
Other files that include type_traits result in the following header being displayed:
"Warning: The code model could not parse an included file, which might lead to slow or incorrect code completion and highlighting, for example"
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-19086 CLang Code Model fails to parse type_traits header with -std=c++17 gcc flag
- Closed