Searched refs:getZero (Results 1 – 13 of 13) sorted by relevance
56 int *getZero() { in getZero() function65 *getZero() = 1; // expected-warning{{Dereference of null pointer}} in testReturnZero()72 return *getZero(); // expected-warning{{Dereference of null pointer}} in testReturnZero2()79 int *a = getZero(); in testInitZero()88 a = getZero(); in testStoreZero()103 usePointer(getZero()); in testUseOfNullPointer()
13 - (int) getZero { method43 clang_analyzer_eval([a getZero] == 0); // expected-warning{{TRUE}}65 clang_analyzer_eval([p getZero] == 0); // expected-warning{{TRUE}}72 clang_analyzer_eval([p getZero] == 0); // expected-warning{{TRUE}}82 return [x getZero];88 - (int) getZero; method96 - (int) getZero { return 5; } method99 clang_analyzer_eval([x getZero] == 0); //expected-warning{{TRUE}}
17 - (int)getZero; method20 - (int)getZero { return 0; } method24 - (int)getZero; method28 - (int)getZero { return 1; } method35 clang_analyzer_eval([o getZero] == 0); // expected-warning{{FALSE}}
6 - (int)getZero; method9 - (int)getZero { method68 - (int)getZero; method78 int z = [p getZero];81 return 5/[p getZero];// expected-warning {{Division by zero}}88 int z = [c getZero]; // MyClass overrides getZero to return '1'.91 return 5/[c getZero];//no warning94 - (int)getZero { method138 // - If it's MyParent*, getZero returns 0.139 // - If it's MyClass*, getZero returns 1 and 'return 5/m' is reachable.
159 int getZero() { in getZero() function173 int problem = 1 / getZero(); // expected-warning {{Division by zero}} in test()
18 int getZero() { return 0; } in getZero() function in A23 clang_analyzer_eval(a.getZero() == 0); // expected-warning{{TRUE}} in test()27 clang_analyzer_eval(copy.getZero() == 0); // expected-warning{{TRUE}} in test()371 clang_analyzer_eval(object->getZero() == 0); // expected-warning{{TRUE}} in test()372 clang_analyzer_eval(object->One::getZero() == 0); // expected-warning{{TRUE}} in test()373 clang_analyzer_eval(object->A::getZero() == 0); // expected-warning{{TRUE}} in test()
38 static BranchProbability getZero() { return BranchProbability(0, 1); } in getZero() function
194 static APFloat getZero(const fltSemantics &Sem, bool Negative = false) {
120 APFloat::getZero(APFloat::IEEEhalf)); in getNullValue()123 APFloat::getZero(APFloat::IEEEsingle)); in getNullValue()126 APFloat::getZero(APFloat::IEEEdouble)); in getNullValue()129 APFloat::getZero(APFloat::x87DoubleExtended)); in getNullValue()132 APFloat::getZero(APFloat::IEEEquad)); in getNullValue()
751 P = APFloat::getZero(APFloat::IEEEdouble); in TEST()754 P = APFloat::getZero(APFloat::IEEEdouble, true); in TEST()
603 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended); in getConstantValue()618 APFloat apf = APFloat::getZero(APFloat::x87DoubleExtended); in getConstantValue()
3711 f = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(EltTy)); in VisitInitListExpr()3729 APValue(APFloat::getZero(Info.Ctx.getFloatTypeSemantics(EltTy))); in ZeroInitialization()5541 Result = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(E->getType())); in ZeroInitialization()5670 Result = llvm::APFloat::getZero(Sem); in VisitUnaryImag()5797 APFloat Zero = APFloat::getZero(Info.Ctx.getFloatTypeSemantics(ElemTy)); in ZeroInitialization()
707 APFloat TmpFlt = APFloat::getZero(APFloat::x87DoubleExtended); in X86TargetLowering()