From 4c5506a64dd57c787147e7c449b740ffd894c4cc Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 20 Sep 2016 22:15:07 +0000 Subject: [PATCH] Enable clang attributes when using clang-cl. llvm-svn: 282029 --- lldb/include/lldb/lldb-defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/include/lldb/lldb-defines.h b/lldb/include/lldb/lldb-defines.h index 2acdf83..a8e6776 100644 --- a/lldb/include/lldb/lldb-defines.h +++ b/lldb/include/lldb/lldb-defines.h @@ -142,8 +142,8 @@ #define MAX_PATH 260 #endif -#ifdef _MSC_VER // ignore GCC function attributes +#if defined(_MSC_VER) && !defined(__clang__) #define __attribute__(X) #endif -- 2.7.4