[PATCH] D36250: [coverage] Special-case calls to noreturn functions.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 4 16:51:09 PDT 2017


efriedma reopened this revision.
efriedma added a comment.
This revision is now accepted and ready to land.

This was reverted.

Failing function, from include/clang/AST/Type.h:

  inline bool Type::isImageType() const {
  #define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) is##Id##Type() ||
    return
  #include "clang/Basic/OpenCLImageTypes.def"
        0; // end boolean or operation
  }

There are no noreturn calls here.  I think the problem is that we're missing a call to handleFileExit() somewhere.  I'll post an updated patch soon.


Repository:
  rL LLVM

https://reviews.llvm.org/D36250





More information about the cfe-commits mailing list