Home
last modified time | relevance | path

Searched refs:NVDerived (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/test/Analysis/
DDeleteWithNonVirtualDtor.cpp13 struct NVDerived : public NonVirtual {}; struct
14 struct NVDoubleDerived : public NVDerived {};
33 NVDerived *get();
36 NonVirtual *x = new NVDerived(); // expected-note{{Conversion from derived to base happened here}} in create()
46 delete reinterpret_cast<NVDerived*>(y); in sinkCast()
49 void sinkParamCast(NVDerived *z) { in sinkParamCast()
55 sd = new NVDerived(); // expected-note{{Conversion from derived to base happened here}} in singleDerived()
61 …NonVirtual *sda = new NVDerived[5]; // expected-note{{Conversion from derived to base happened her… in singleDerivedArr()
93 …NonVirtual *dtf = new NVDerived(); // expected-note{{Conversion from derived to base happened here… in deleteThroughFunction()
98 NVDerived *sccs = new NVDerived(); in singleCastCStyle()
[all …]
/external/llvm-project/clang/docs/analyzer/
Dcheckers.rst1742 NonVirtual *x = new NVDerived(); // note: conversion from derived to base