Bug 360348 - Cannot inspect stuff inside static_assert
Summary: Cannot inspect stuff inside static_assert
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (Clang-based) (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-10 09:38 UTC by Alexander Potashev
Modified: 2016-09-08 19:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2016-03-10 09:38:51 UTC
In the following code, hovering "type_info" outside of static_assert() displays info about this class. However, the same does not work when hovering "type_info" inside static_assert().

=====
#include <typeinfo>

std::type_info *x;
static_assert(sizeof(std::type_info) == 16, "Size of type_info is not 16");


Reproducible: Always
Comment 1 Kevin Funk 2016-09-08 19:49:58 UTC
Confirmed.