Bug 360348

Summary: Cannot inspect stuff inside static_assert
Product: [Applications] kdevelop Reporter: Alexander Potashev <aspotashev>
Component: Language Support: CPP (Clang-based)Assignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.