This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270406 - IDE takes friend declaration as a specialization
Summary: IDE takes friend declaration as a specialization
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-14 21:15 UTC by Vladimir Kvashin
Modified: 2017-04-16 19:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2017-04-14 21:15:44 UTC
Consider llvm 3.9 code, namely, llvm/lib/IR/ConstantsContext.h:360
It contains a declaration of the class
  template <class ConstantClass> struct ConstantAggrKeyType { ...
IDE shows that this template class has 3 specializations.

But in fact they are friend declatations:

friend struct ConstantAggrKeyType<ConstantArray>;
friend struct ConstantAggrKeyType<ConstantStruct>;
friend struct ConstantAggrKeyType<ConstantVector>;