[PATCH] D17741: adds __FILE_BASENAME__ builtin macro

Karl-Johan Karlsson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 18 07:21:51 PST 2018


Ka-Ka added a comment.

Ping?

Do you think this small lit testcase below work as a testcase for the -ffile-macro-prefix-to-remove option?

// RUN: %clang_cc1 -emit-llvm %s  -o - -ffile-macro-prefix-to-remove=%s | FileCheck %s
char this_file[] = __FILE__;
// CHECK: @this_file = global [1 x i8] zeroinitializer


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

https://reviews.llvm.org/D17741





More information about the cfe-commits mailing list