Home
last modified time | relevance | path

Searched refs:Initializers (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Linker/
DLinkModules.cpp896 std::vector<Constant *> Initializers; in upgradeGlobalArray() local
901 Initializers.push_back(ConstantStruct::get( in upgradeGlobalArray()
905 assert(Initializers.size() == ATy->getNumElements() && in upgradeGlobalArray()
909 ATy = ArrayType::get(NewTy, Initializers.size()); in upgradeGlobalArray()
910 Constant *NewInit = ConstantArray::get(ATy, Initializers); in upgradeGlobalArray()
/external/clang/lib/Sema/
DSemaCodeComplete.cpp4350 ArrayRef <CXXCtorInitializer *> Initializers) { in CodeCompleteConstructorInitializer()
4365 for (unsigned I = 0, E = Initializers.size(); I != E; ++I) { in CodeCompleteConstructorInitializer()
4366 if (Initializers[I]->isBaseInitializer()) in CodeCompleteConstructorInitializer()
4368 Context.getCanonicalType(QualType(Initializers[I]->getBaseClass(), 0))); in CodeCompleteConstructorInitializer()
4371 Initializers[I]->getAnyMember())); in CodeCompleteConstructorInitializer()
4377 bool SawLastInitializer = Initializers.empty(); in CodeCompleteConstructorInitializer()
4383 = !Initializers.empty() && in CodeCompleteConstructorInitializer()
4384 Initializers.back()->isBaseInitializer() && in CodeCompleteConstructorInitializer()
4386 QualType(Initializers.back()->getBaseClass(), 0)); in CodeCompleteConstructorInitializer()
4407 = !Initializers.empty() && in CodeCompleteConstructorInitializer()
[all …]
DSemaDeclCXX.cpp3890 ArrayRef<CXXCtorInitializer *> Initializers) { in SetCtorInitializers() argument
3894 if (!Initializers.empty()) { in SetCtorInitializers()
3895 Constructor->setNumCtorInitializers(Initializers.size()); in SetCtorInitializers()
3897 new (Context) CXXCtorInitializer*[Initializers.size()]; in SetCtorInitializers()
3898 memcpy(baseOrMemberInitializers, Initializers.data(), in SetCtorInitializers()
3899 Initializers.size() * sizeof(CXXCtorInitializer*)); in SetCtorInitializers()
3920 for (unsigned i = 0; i < Initializers.size(); i++) { in SetCtorInitializers()
3921 CXXCtorInitializer *Member = Initializers[i]; in SetCtorInitializers()
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1262 SmallVector<Constant *, 16> Initializers(n); in InstrumentGlobals() local
1329 Initializers[i] = ConstantStruct::get( in InstrumentGlobals()
1345 ConstantArray::get(ArrayOfGlobalStructTy, Initializers), ""); in InstrumentGlobals()
/external/clang/include/clang/AST/
DDeclCXX.h2246 void setCtorInitializers(CXXCtorInitializer **Initializers) { in setCtorInitializers() argument
2247 CtorInitializers = Initializers; in setCtorInitializers()
/external/clang/include/clang/Sema/
DSema.h4970 ArrayRef<CXXCtorInitializer *> Initializers = None);
8352 ArrayRef<CXXCtorInitializer *> Initializers);
/external/clang/include/clang/Basic/
DDiagnosticSemaKinds.td152 // C99 Designated Initializers