diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-07-29 21:59:33 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-07-29 21:59:33 +0000 |
commit | 56d861fbb9f2777c9677e1a1d08228fd97693eec (patch) | |
tree | 1c1bf1d07354567f1b34d97068e5fe65fa8820ce /lldb/source/Expression/ExpressionSourceCode.cpp | |
parent | 17edc9230e8bde39dc575e6ce09855fa2d920bab (diff) | |
download | bcm5719-llvm-56d861fbb9f2777c9677e1a1d08228fd97693eec.tar.gz bcm5719-llvm-56d861fbb9f2777c9677e1a1d08228fd97693eec.zip |
Attempt to fix the expression parser after r214119
__INT?_TYPE__ is now explicitly, so adding an explicit 'signed'
specifier causes errors.
llvm-svn: 214233
Diffstat (limited to 'lldb/source/Expression/ExpressionSourceCode.cpp')
-rw-r--r-- | lldb/source/Expression/ExpressionSourceCode.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lldb/source/Expression/ExpressionSourceCode.cpp b/lldb/source/Expression/ExpressionSourceCode.cpp index bf6de55e6a9..080562e51e9 100644 --- a/lldb/source/Expression/ExpressionSourceCode.cpp +++ b/lldb/source/Expression/ExpressionSourceCode.cpp @@ -28,16 +28,16 @@ ExpressionSourceCode::g_expression_prefix = R"( #define nil (__null) #define YES ((BOOL)1) #define NO ((BOOL)0) -typedef signed __INT8_TYPE__ int8_t; -typedef unsigned __INT8_TYPE__ uint8_t; -typedef signed __INT16_TYPE__ int16_t; -typedef unsigned __INT16_TYPE__ uint16_t; -typedef signed __INT32_TYPE__ int32_t; -typedef unsigned __INT32_TYPE__ uint32_t; -typedef signed __INT64_TYPE__ int64_t; -typedef unsigned __INT64_TYPE__ uint64_t; -typedef signed __INTPTR_TYPE__ intptr_t; -typedef unsigned __INTPTR_TYPE__ uintptr_t; +typedef __INT8_TYPE__ int8_t; +typedef __UINT8_TYPE__ uint8_t; +typedef __INT16_TYPE__ int16_t; +typedef __UINT16_TYPE__ uint16_t; +typedef __INT32_TYPE__ int32_t; +typedef __UINT32_TYPE__ uint32_t; +typedef __INT64_TYPE__ int64_t; +typedef __UINT64_TYPE__ uint64_t; +typedef __INTPTR_TYPE__ intptr_t; +typedef __UINTPTR_TYPE__ uintptr_t; typedef __SIZE_TYPE__ size_t; typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef unsigned short unichar; |