[PATCH] D61765: [OpenMP][Clang][BugFix] Split declares and math functions inclusion.

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 9 15:55:59 PDT 2019


jdoerfert added a comment.

This always includes the declare file but not the define file, correct?

Could we have 4 tests that are compiled in target mode with:

  // with and without math.h/cmath (clang/clang++)
  #include <math.h>
  
  long abs(long __i) { return (__i < 0 ? -i : i); }


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61765/new/

https://reviews.llvm.org/D61765





More information about the cfe-commits mailing list