Building with CC=clang/CXX=clang++, I see the following two warnings:
/usr/home/phargrov/upcnightly/llvm-upc/src/tools/clang/lib/Frontend/CompilerInvocation.cpp:1421:22: warning: comparison of integers of different signs: 'int' and 'uint64_t' (aka 'unsigned long long') [-Wsign-compare]
} else if (Threads > (uint64_t(1u) << Opts.UPCThreadBits)) {
~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
/usr/home/phargrov/upcnightly/llvm-upc/src/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:1000:13: warning: enumeration values 'CK_UPCSharedToLocal' and 'CK_UPCBitCastZeroPhase' not handled in switch [-Wswitch]
switch (ICE->getCastKind()) {
^
1 warning generated.
Building with CC=clang/CXX=clang++, I see the following two warnings: