[PATCH] D61756: Add a __FILE_NAME__ macro.

Kristina Brooks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 15 20:42:33 PDT 2019


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

Reverted in rL360842 <https://reviews.llvm.org/rL360842> as Windows bots were failing.

I suspect the `MSVCCompat` case may need to be handled differently depending on the host OS similar to `PPDirectives.cpp`:

    if (LangOpts.MSVCCompat) {
      NormalizedPath = Filename.str();
  #ifndef _WIN32
      llvm::sys::path::native(NormalizedPath);
  #endif
    }

Reopening this for now, will try to get a local Windows builder set up and work out what the problem is before relanding.


Repository:
  rC Clang

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

https://reviews.llvm.org/D61756





More information about the llvm-commits mailing list