CodeCompass icon indicating copy to clipboard operation
CodeCompass copied to clipboard

Handle non-type template parameter

Open csordasmarton opened this issue 8 years ago • 1 comments

We should handle non-type template parameters in cpp parser:

template<typename T, int param> // param is a NonTypeTemplateParmDecl
bool f() {
  if (param < 0) // NonTypeTemplateParm
    return false;
  return true;
}

csordasmarton avatar Jun 12 '17 13:06 csordasmarton

We shall verify whether this issue still persists or not.

mcserep avatar May 08 '21 19:05 mcserep