Mercurial > hg > CbC > CbC_llvm
changeset 111:3e4d254d74d9
resolve some warnings
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Feb 2016 19:38:53 +0900 |
parents | 0ba6fe025c14 |
children | 4b203247047d |
files | tools/clang/lib/CodeGen/ItaniumCXXABI.cpp tools/clang/lib/Index/USRGeneration.cpp |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp Tue Feb 02 19:26:30 2016 +0900 +++ b/tools/clang/lib/CodeGen/ItaniumCXXABI.cpp Tue Feb 02 19:38:53 2016 +0900 @@ -2510,6 +2510,9 @@ // half-precision floating point types. switch (Ty->getKind()) { case BuiltinType::Void: +#ifndef noCbC + case BuiltinType::__Code: +#endif case BuiltinType::NullPtr: case BuiltinType::Bool: case BuiltinType::WChar_S:
--- a/tools/clang/lib/Index/USRGeneration.cpp Tue Feb 02 19:26:30 2016 +0900 +++ b/tools/clang/lib/Index/USRGeneration.cpp Tue Feb 02 19:38:53 2016 +0900 @@ -554,6 +554,9 @@ unsigned char c = '\0'; switch (BT->getKind()) { case BuiltinType::Void: +#ifndef noCbC + case BuiltinType::__Code: +#endif c = 'v'; break; case BuiltinType::Bool: c = 'b'; break;