Closed
Bug 415637
Opened 17 years ago
Closed 17 years ago
gcc-dehydra: templated function impls are not reported
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: benjamin, Assigned: taras.mozilla)
Details
I never get process() called on templated functions (or functions of templated classes):
In the simple example, I should be able to process myadd<int>():
template<class T>
T
myadd(T a, T b)
{
return a + b;
}
int main()
{
return myadd(2, 3);
}
In the complex example, I should be able to process A<int>::F():
class Base
{
public:
virtual void F() = 0;
};
template<class T>
class A : public Base
{
public:
virtual void F();
};
template<class T>
void
A<T>::F()
{
int i = 1 + 1;
}
Base* testfunc()
{
return new A<int>();
}
| Assignee | ||
Comment 1•17 years ago
|
||
Please post testcases as attachments in the future. I committed a fix, see templ-func.cc and templ-func2.cc in the test/ dir.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•