Home
last modified time | relevance | path

Searched refs:RTTI (Results 1 – 25 of 61) sorted by relevance

123

/external/llvm/docs/
DHowToSetUpLLVMStyleRTTI.rst2 How to set up LLVM-style RTTI for your class hierarchy
10 LLVM avoids using C++'s built in RTTI. Instead, it pervasively uses its
11 own hand-rolled form of RTTI which is much more efficient and flexible,
14 A description of how to use LLVM-style RTTI from a client's perspective is
17 hierarchy author to make LLVM-style RTTI available to your clients.
27 This section describes how to set up the most basic form of LLVM-style RTTI
29 RTTI for this class hierarchy:
53 The most basic working setup for LLVM-style RTTI requires the following
57 "llvm/Support/Casting.h"``, which declares LLVM's RTTI templates. That
74 + /// Discriminator for LLVM-style RTTI (dyn_cast<> et al.)
[all …]
DPackaging.rst49 RTTI
50 LLVM disables RTTI by default. Add ``REQUIRES_RTTI=1`` to your environment
52 RTTI enabled and still inherit from LLVM classes.
/external/v8/testing/gtest/cmake/
Dinternal_utils.cmake94 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
102 # RTTI are enabled, so we define GTEST_HAS_* explicitly.
111 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
118 # RTTI can not be disabled in HP aCC compiler.
/external/vulkan-validation-layers/tests/gtest-1.7.0/cmake/
Dinternal_utils.cmake79 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
87 # RTTI are enabled, so we define GTEST_HAS_* explicitly.
96 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
103 # RTTI can not be disabled in HP aCC compiler.
/external/google-breakpad/src/testing/gtest/cmake/
Dinternal_utils.cmake79 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
87 # RTTI are enabled, so we define GTEST_HAS_* explicitly.
96 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
103 # RTTI can not be disabled in HP aCC compiler.
/external/libcxx/test/support/test.support/
Dtest_macros_header_rtti.fail.cpp26 #error RTTI enabled in main()
/external/googletest/googletest/cmake/
Dinternal_utils.cmake101 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
109 # RTTI are enabled, so we define GTEST_HAS_* explicitly.
118 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
125 # RTTI can not be disabled in HP aCC compiler.
/external/llvm/examples/ExceptionDemo/
DCMakeLists.txt12 # Enable EH and RTTI for this demo
/external/llvm/lib/Transforms/Hello/
DCMakeLists.txt1 # If we don't need RTTI or EH, there's no reason to export anything
/external/clang/lib/CodeGen/
DCGException.cpp563 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
819 if (!handler.Type.RTTI) { in EmitLandingPad()
826 if (catchTypes.insert(handler.Type.RTTI).second) in EmitLandingPad()
828 LPadInst->addClause(handler.Type.RTTI); in EmitLandingPad()
898 if (!TypeInfo.RTTI) in emitCatchPadBlock()
899 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitCatchPadBlock()
905 CatchSwitch, {TypeInfo.RTTI, CGF.Builder.getInt32(TypeInfo.Flags), in emitCatchPadBlock()
908 CGF.Builder.CreateCatchPad(CatchSwitch, {TypeInfo.RTTI}); in emitCatchPadBlock()
949 llvm::Value *typeValue = handler.Type.RTTI; in emitCatchDispatchBlock()
DCGVTables.h67 unsigned NumVTableThunks, llvm::Constant *RTTI);
DCGVTables.cpp526 unsigned NumVTableThunks, llvm::Constant *RTTI) { in CreateVTableInitializer() argument
560 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy); in CreateVTableInitializer()
702 llvm::Constant *RTTI = CGM.GetAddrOfRTTIDescriptor( in GenerateConstructionVTable() local
709 VTLayout->getNumVTableThunks(), RTTI); in GenerateConstructionVTable()
DCGCleanup.h39 llvm::Constant *RTTI; member
163 bool isCatchAll() const { return Type.RTTI == nullptr; } in isCatchAll()
/external/llvm/tools/bugpoint-passes/
DCMakeLists.txt5 # If we don't need RTTI or EH, there's no reason to export anything
/external/clang/examples/PrintFunctionNames/
DCMakeLists.txt1 # If we don't need RTTI or EH, there's no reason to export anything
/external/libbrillo/brillo/
Dtype_name_undecorate.h21 #error TypeInfo/Any with RTTI disabled is supported on clang compiler only.
/external/protobuf/gtest/
DCMakeLists.txt78 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
85 # RTTI are enabled, so we define GTEST_HAS_* explicitly.
94 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
/external/llvm/tools/llvm-config/
DCMakeLists.txt28 # Fetch target specific compile options, e.g. RTTI option
/external/clang/docs/
DMSVCCompatibility.rst84 * RTTI: :good:`Complete`. Generation of RTTI data structures has been
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-port.h.orig61 // GTEST_HAS_RTTI - Define it to 1/0 to indicate that RTTI is/isn't
409 // Determines whether RTTI is available.
411 // The user didn't tell us whether RTTI is enabled, so we need to
416 # ifdef _CPPRTTI // MSVC defines this macro iff RTTI is enabled.
422 // Starting with version 4.3.2, gcc defines __GXX_RTTI iff RTTI is enabled.
429 // so disable RTTI when detected.
459 // For all other compilers, we assume RTTI is enabled.
466 // It's this header's responsibility to #include <typeinfo> when RTTI
585 // which is #included by <tr1/tuple>, to not compile when RTTI is
1117 // do RTTI (eg code like this:
[all …]
/external/clang/test/SemaTemplate/
Dtemp_arg_nontype_cxx1z.cpp70 namespace RTTI { namespace
/external/libcxx/include/
Dtypeinfo110 // A const char* with the non-unique RTTI bit possibly set.
/external/toolchain-utils/dejagnu/gdb_baseline/
Dx86_64-cros-linux-gnu16245 PASS: gdb.mi/mi-var-rtti.exp: create varobj for ptr (without RTTI) in use_rtti_for_ptr
16246 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in use_rtti_for_ptr
16247 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in use_rtti_for_ptr
16248 PASS: gdb.mi/mi-var-rtti.exp: check ptr->A (without RTTI) in use_rtti_for_ptr
16249 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for ptr (without RTTI) in use_rtti_for_ptr
16250 PASS: gdb.mi/mi-var-rtti.exp: create varobj for constPtr (without RTTI) in use_rtti_for_ptr
16251 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr (without RTTI) in use_rtti_for_ptr
16252 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr.public (without RTTI) in use_rtti_for_ptr
16253 PASS: gdb.mi/mi-var-rtti.exp: check constPtr->A (without RTTI) in use_rtti_for_ptr
16254 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for constPtr (without RTTI) in use_rtti_for_ptr
[all …]
Di686-pc-linux-gnu15977 PASS: gdb.mi/mi-var-rtti.exp: create varobj for ptr (without RTTI) in use_rtti_for_ptr
15978 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in use_rtti_for_ptr
15979 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in use_rtti_for_ptr
15980 PASS: gdb.mi/mi-var-rtti.exp: check ptr->A (without RTTI) in use_rtti_for_ptr
15981 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for ptr (without RTTI) in use_rtti_for_ptr
15982 PASS: gdb.mi/mi-var-rtti.exp: create varobj for constPtr (without RTTI) in use_rtti_for_ptr
15983 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr (without RTTI) in use_rtti_for_ptr
15984 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr.public (without RTTI) in use_rtti_for_ptr
15985 PASS: gdb.mi/mi-var-rtti.exp: check constPtr->A (without RTTI) in use_rtti_for_ptr
15986 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for constPtr (without RTTI) in use_rtti_for_ptr
[all …]
Darmv7a-cros-linux-gnueabi15875 PASS: gdb.mi/mi-var-rtti.exp: create varobj for ptr (without RTTI) in use_rtti_for_ptr
15876 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr (without RTTI) in use_rtti_for_ptr
15877 PASS: gdb.mi/mi-var-rtti.exp: list children of ptr.public (without RTTI) in use_rtti_for_ptr
15878 PASS: gdb.mi/mi-var-rtti.exp: check ptr->A (without RTTI) in use_rtti_for_ptr
15879 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for ptr (without RTTI) in use_rtti_for_ptr
15880 PASS: gdb.mi/mi-var-rtti.exp: create varobj for constPtr (without RTTI) in use_rtti_for_ptr
15881 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr (without RTTI) in use_rtti_for_ptr
15882 PASS: gdb.mi/mi-var-rtti.exp: list children of constPtr.public (without RTTI) in use_rtti_for_ptr
15883 PASS: gdb.mi/mi-var-rtti.exp: check constPtr->A (without RTTI) in use_rtti_for_ptr
15884 PASS: gdb.mi/mi-var-rtti.exp: delete varobj for constPtr (without RTTI) in use_rtti_for_ptr
[all …]

123