authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-06-05 15:02:48-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-06-05 15:02:48-04:00
logef7f69d14a017c6c2065e4a376bb8e1f05ace04b
tree14ff9c690c95a1bd82ed0d59c5e8a9253fce7e31
parentba5eeea1e55ab07f7848890209001657df3a1cf0

update to latest libclang


1 files changed, 12 insertions(+), 0 deletions(-)

src/translate_c.cpp+12
...@@ -795,6 +795,12 @@ static AstNode *trans_type(Context *c, const Type *ty, const SourceLocation &sou...@@ -795,6 +795,12 @@ static AstNode *trans_type(Context *c, const Type *ty, const SourceLocation &sou
795 case BuiltinType::UnknownAny:795 case BuiltinType::UnknownAny:
796 case BuiltinType::BuiltinFn:796 case BuiltinType::BuiltinFn:
797 case BuiltinType::ARCUnbridgedCast:797 case BuiltinType::ARCUnbridgedCast:
798 case BuiltinType::ShortAccum:
799 case BuiltinType::Accum:
800 case BuiltinType::LongAccum:
801 case BuiltinType::UShortAccum:
802 case BuiltinType::UAccum:
803 case BuiltinType::ULongAccum:
798804
799 case BuiltinType::OCLImage1dRO:805 case BuiltinType::OCLImage1dRO:
800 case BuiltinType::OCLImage1dArrayRO:806 case BuiltinType::OCLImage1dArrayRO:
...@@ -2409,6 +2415,12 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope *...@@ -2409,6 +2415,12 @@ static AstNode *trans_bool_expr(Context *c, ResultUsed result_used, TransScope *
2409 case BuiltinType::OCLClkEvent:2415 case BuiltinType::OCLClkEvent:
2410 case BuiltinType::OCLQueue:2416 case BuiltinType::OCLQueue:
2411 case BuiltinType::OCLReserveID:2417 case BuiltinType::OCLReserveID:
2418 case BuiltinType::ShortAccum:
2419 case BuiltinType::Accum:
2420 case BuiltinType::LongAccum:
2421 case BuiltinType::UShortAccum:
2422 case BuiltinType::UAccum:
2423 case BuiltinType::ULongAccum:
2412 return res;2424 return res;
2413 }2425 }
2414 break;2426 break;