From 8b06c531013555075e4307b8d9bec739d5dc751d 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205729 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/predefined-expr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/CodeGen/predefined-expr.c b/test/CodeGen/predefined-expr.c index 3471dcdaa2..6c94152b73 100644 --- a/test/CodeGen/predefined-expr.c +++ b/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.1