/external/compiler-rt/test/asan/TestCases/ |
H A D | stack-buffer-overflow-with-position.cc | 23 char AAA[10], BBB[10], CCC[10]; local 26 memset(CCC, 0, sizeof(CCC)); 29 printf("AAA: %p\ny: %p\nz: %p\np: %p\n", AAA, BBB, CCC, p); 30 // make sure BBB and CCC are not removed; 31 return *(short*)(p) + BBB[argc % 2] + CCC[argc % 2]; 41 // CHECK-62: 'CCC' <== {{.*}}underflows this variable 42 // CHECK-63: 'CCC' <== {{.*}}partially underflows this variable 43 // CHECK-73: 'CCC' <== {{.*}}partially overflows this variable 44 // CHECK-74: 'CCC' < [all...] |
/external/compiler-rt/test/tsan/ |
H A D | virtual_inheritance_compile_bug.cc | 8 struct CCC: virtual AAA { }; struct in inherits:AAA 9 struct DDD: CCC, BBB { DDD(); }; // NOLINT
|
/external/clang/test/FixIt/ |
H A D | typo-using.cpp | 44 class CCC { public: typedef int AAA; }; // expected-note {{'AAA' declared here}} class in namespace:using_suggestion_member_ty 45 class DDD : public CCC { public: using CCC::AAB; }; // expected-error {{no member named 'AAB' in 'using_suggestion_member_ty::CCC'; did you mean 'AAA'?}} 49 class CCC { public: void AAA() { } }; // expected-note {{'AAA' declared here}} class in namespace:using_suggestion_member_val 50 class DDD : public CCC { public: using CCC::AAB; }; // expected-error {{no member named 'AAB' in 'using_suggestion_member_val::CCC'; did you mean 'AAA'?}} 54 class CCC { public: typedef int AAA; }; // expected-note {{'AAA' declared here}} class in namespace:using_suggestion_member_tyname_ty 55 class DDD : public CCC { publi [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | thunk-use-after-free.cpp | 33 struct CCC:DDD { virtual void xxx (HHH < X1 >); }; struct in inherits:DDD 37 class BBB:virtual CCC {
|
H A D | debug-info-use-after-free.cpp | 120 struct CCC:DDD { virtual void xxx (HHH < X1 >); }; struct in inherits:DDD 124 class BBB:virtual CCC { 241 template < typename CCC, typename = 242 typename CCC::key_equal, typename = 243 EEE < CCC > >class III {
|
/external/clang/include/clang/Sema/ |
H A D | ExternalSemaSource.h | 196 CorrectionCandidateCallback &CCC, 194 CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT) argument
|
H A D | SemaInternal.h | 100 std::unique_ptr<CorrectionCandidateCallback> CCC, 106 CorrectionValidator(std::move(CCC)), MemberContext(MemberContext), 96 TypoCorrectionConsumer(Sema &SemaRef, const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, Scope *S, CXXScopeSpec *SS, std::unique_ptr<CorrectionCandidateCallback> CCC, DeclContext *MemberContext, bool EnteringContext) argument
|
/external/clang/test/SemaCXX/ |
H A D | using-decl-1.cpp | 130 class CCC { public: void AAA() { } }; class in namespace:using_suggestion_member_tyname_val 131 class DDD : public CCC { public: using typename CCC::AAB; }; // expected-error {{no member named 'AAB' in 'using_suggestion_member_tyname_val::CCC'}}
|
/external/clang/lib/Sema/ |
H A D | MultiplexExternalSemaSource.cpp | 287 CorrectionCandidateCallback &CCC, 292 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, 284 CorrectTypo( const DeclarationNameInfo &Typo, int LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT) argument
|
H A D | SemaLookup.cpp | 3347 static bool isCandidateViable(CorrectionCandidateCallback &CCC, argument 3349 Candidate.setCallbackDistance(CCC.RankCandidate(Candidate)); 3909 Scope *S, CorrectionCandidateCallback &CCC, 3914 if (CCC.WantExpressionKeywords) 3919 if (CCC.WantObjCSuper) 3922 if (CCC.WantTypeSpecifiers) { 3959 } else if (CCC.WantFunctionLikeCasts) { 3968 if (CCC.WantCXXNamedCasts && SemaRef.getLangOpts().CPlusPlus) { 3975 if (CCC.WantExpressionKeywords) { 4007 if (CCC 3907 AddKeywordsToConsumer(Sema &SemaRef, TypoCorrectionConsumer &Consumer, Scope *S, CorrectionCandidateCallback &CCC, bool AfterNestedNameSpecifier) argument 4057 makeTypoCorrectionConsumer( const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, Scope *S, CXXScopeSpec *SS, std::unique_ptr<CorrectionCandidateCallback> CCC, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT, bool ErrorRecovery) argument 4228 CorrectTypo(const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, Scope *S, CXXScopeSpec *SS, std::unique_ptr<CorrectionCandidateCallback> CCC, CorrectTypoKind Mode, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT, bool RecordFailure) argument 4364 CorrectTypoDelayed( const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, Scope *S, CXXScopeSpec *SS, std::unique_ptr<CorrectionCandidateCallback> CCC, TypoDiagnosticGenerator TDG, TypoRecoveryCallback TRC, CorrectTypoKind Mode, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT) argument [all...] |
H A D | SemaCodeComplete.cpp | 1348 static void AddStorageSpecifiers(Sema::ParserCompletionContext CCC, argument 1359 static void AddFunctionSpecifiers(Sema::ParserCompletionContext CCC, argument 1363 switch (CCC) { 1419 static bool WantTypesInContext(Sema::ParserCompletionContext CCC, argument 1421 switch (CCC) { 1515 static void AddOrdinaryNameResults(Sema::ParserCompletionContext CCC, argument 1524 switch (CCC) { 1599 if (CCC == Sema::PCC_Class) { 1634 AddStorageSpecifiers(CCC, SemaRef.getLangOpts(), Results); 1635 AddFunctionSpecifiers(CCC, SemaRe [all...] |
H A D | SemaDecl.cpp | 735 std::unique_ptr<CorrectionCandidateCallback> CCC) { 808 if (!SecondTry && CCC) { 812 &SS, std::move(CCC), 732 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc, const Token &NextToken, bool IsAddressOfOperand, std::unique_ptr<CorrectionCandidateCallback> CCC) argument
|
H A D | SemaExpr.cpp | 1764 std::unique_ptr<CorrectionCandidateCallback> CCC, 1888 R.getLookupNameInfo(), R.getLookupKind(), S, &SS, std::move(CCC), 1898 &SS, std::move(CCC), CTK_ErrorRecovery))) { 2049 std::unique_ptr<CorrectionCandidateCallback> CCC, 2166 assert((!CCC || CCC->IsAddressOfOperand == IsAddressOfOperand) && 2168 if (CCC) { 2170 CCC->setTypoName(II); 2172 CCC->setTypoNNS(SS.getScopeRep()); 2175 CCC 1763 DiagnoseEmptyLookup(Scope *S, CXXScopeSpec &SS, LookupResult &R, std::unique_ptr<CorrectionCandidateCallback> CCC, TemplateArgumentListInfo *ExplicitTemplateArgs, ArrayRef<Expr *> Args, TypoExpr **Out) argument 2046 ActOnIdExpression(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, bool HasTrailingLParen, bool IsAddressOfOperand, std::unique_ptr<CorrectionCandidateCallback> CCC, bool IsInlineAsmIdentifier, Token *KeywordReplacement) argument [all...] |
/external/clang/lib/Parse/ |
H A D | Parser.cpp | 1323 /// \param CCC Indicates how to perform typo-correction for this name. If NULL, 1327 std::unique_ptr<CorrectionCandidateCallback> CCC) { 1367 SS.isEmpty() ? std::move(CCC) : nullptr); 1326 TryAnnotateName(bool IsAddressOfOperand, std::unique_ptr<CorrectionCandidateCallback> CCC) argument
|
H A D | ParseDecl.cpp | 2618 Sema::ParserCompletionContext CCC = Sema::PCC_Namespace; local 2637 CCC = Sema::PCC_LocalDeclarationSpecifiers; 2639 CCC = DSContext == DSC_class? Sema::PCC_MemberTemplate 2642 CCC = Sema::PCC_Class; 2644 CCC = Sema::PCC_ObjCImplementation; 2646 Actions.CodeCompleteOrdinaryName(getCurScope(), CCC); local
|