clair
clair copied to clipboard
declaration locations do not span the entire declaration
for example function declarations in m3.declarations point only to the header
Isn't that the declaration site proper?
well the expectation of users of the JDT, for example, is that if you readFile(declLoc) you get the declaration including the body, unless it is an abstract declaration of course.
This is becoming problematic for people who want to count the SLOC of a function of a method.