From 0dc06b9a3d57bfe38ba6eebfe99892d15d9da4bb Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Mon, 7 Apr 2014 19:27:58 +0000 Subject: -fms-extensions: Don't define __PRETTY_FUNCTION__ to __FUNCTION__ This reverts r90596 from 2009. Having this macro definition makes Clang strictly less useful with -fms-extensions. llvm-svn: 205729 --- clang/test/CodeGen/predefined-expr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/test/CodeGen/predefined-expr.c') diff --git a/clang/test/CodeGen/predefined-expr.c b/clang/test/CodeGen/predefined-expr.c index 3471dcdaa2a..6c94152b737 100644 --- a/clang/test/CodeGen/predefined-expr.c +++ b/clang/test/CodeGen/predefined-expr.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 -fms-extensions %s -emit-llvm -o - | FileCheck %s // CHECK: @__func__.plainFunction = private unnamed_addr constant [14 x i8] c"plainFunction\00" // CHECK: @__PRETTY_FUNCTION__.plainFunction = private unnamed_addr constant [21 x i8] c"void plainFunction()\00" -- cgit v1.2.3