llvm.org GIT mirror llvm / ee705a7
Silence warnings in -asserts build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148715 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Beaumont-Gay 8 years ago
1 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
16741674 bool isBinary = isa(result);
16751675 bool isDyld = isa >(result);
16761676 bool isFile = isa >(result);
1677 (void)isBinary;
1678 (void)isDyld;
1679 (void)isFile;
16771680 assert(isBinary && isDyld && isFile &&
16781681 "Type inquiry failed for ELF object!");
16791682 return result;
16941697 bool isBinary = isa(result);
16951698 bool isDyld = isa >(result);
16961699 bool isFile = isa >(result);
1700 (void)isBinary;
1701 (void)isDyld;
1702 (void)isFile;
16971703 assert(isBinary && isFile && !isDyld &&
16981704 "Type inquiry failed for ELF object!");
16991705 return result;