// Attribute can be applied only to functions.
// If we try to apply it to a function pointer, don't warn, but don't
- // do anything, either.
+ // do anything, either. All the function-pointer stuff is handled in
+ // SemaType.cpp.
ValueDecl *VD = dyn_cast<ValueDecl>(d);
if (VD && VD->getType()->isFunctionPointerType())
return;
}
// If we try to apply it to a function pointer, don't warn, but don't
- // do anything, either.
+ // do anything, either. All the function-pointer stuff is handled in
+ // SemaType.cpp.
ValueDecl *VD = dyn_cast<ValueDecl>(d);
if (VD && VD->getType()->isFunctionPointerType())
return;