/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 | 201 CorrectionCandidateCallback &CCC, 199 CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT) 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/unittests/Sema/ |
H A D | ExternalSemaSourceTest.cpp | 106 CorrectionCandidateCallback &CCC, 213 NamespaceTypoProvider Second("AAB", "CCC"); 215 NamespaceDiagnosticWatcher Watcher("AAB", "CCC"); 104 CorrectTypo(const DeclarationNameInfo &Typo, int LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT) argument
|
/external/clang/lib/Sema/ |
H A D | MultiplexExternalSemaSource.cpp | 285 CorrectionCandidateCallback &CCC, 290 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, 282 CorrectTypo( const DeclarationNameInfo &Typo, int LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT) argument
|
H A D | SemaCodeComplete.cpp | 1349 static void AddStorageSpecifiers(Sema::ParserCompletionContext CCC, argument 1360 static void AddFunctionSpecifiers(Sema::ParserCompletionContext CCC, argument 1364 switch (CCC) { 1420 static bool WantTypesInContext(Sema::ParserCompletionContext CCC, argument 1422 switch (CCC) { 1516 static void AddOrdinaryNameResults(Sema::ParserCompletionContext CCC, argument 1525 switch (CCC) { 1600 if (CCC == Sema::PCC_Class) { 1635 AddStorageSpecifiers(CCC, SemaRef.getLangOpts(), Results); 1636 AddFunctionSpecifiers(CCC, SemaRe [all...] |
H A D | SemaLookup.cpp | 3268 static bool isCandidateViable(CorrectionCandidateCallback &CCC, argument 3270 Candidate.setCallbackDistance(CCC.RankCandidate(Candidate)); 3338 CorrectionCandidateCallback &CCC, 3342 SS(SS), CorrectionValidator(CCC), MemberContext(MemberContext), 3944 Scope *S, CorrectionCandidateCallback &CCC, 3949 if (CCC.WantExpressionKeywords) 3954 if (CCC.WantObjCSuper) 3957 if (CCC.WantTypeSpecifiers) { 3996 if (CCC.WantCXXNamedCasts && SemaRef.getLangOpts().CPlusPlus) { 4003 if (CCC 3334 TypoCorrectionConsumer(Sema &SemaRef, const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, DeclContext *MemberContext, bool EnteringContext) argument 3942 AddKeywordsToConsumer(Sema &SemaRef, TypoCorrectionConsumer &Consumer, Scope *S, CorrectionCandidateCallback &CCC, bool AfterNestedNameSpecifier) argument 4159 CorrectTypo(const DeclarationNameInfo &TypoName, Sema::LookupNameKind LookupKind, Scope *S, CXXScopeSpec *SS, CorrectionCandidateCallback &CCC, CorrectTypoKind Mode, DeclContext *MemberContext, bool EnteringContext, const ObjCObjectPointerType *OPT, bool RecordFailure) argument [all...] |
H A D | SemaDecl.cpp | 688 CorrectionCandidateCallback *CCC) { 761 if (!SecondTry && CCC) { 765 &SS, *CCC, 682 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name, SourceLocation NameLoc, const Token &NextToken, bool IsAddressOfOperand, CorrectionCandidateCallback *CCC) argument
|
H A D | SemaOverload.cpp | 10462 CorrectionCandidateCallback *CCC = AllowTypoCorrection ? local 10469 SemaRef.DiagnoseEmptyLookup(S, SS, R, *CCC,
|
H A D | SemaExpr.cpp | 1726 CorrectionCandidateCallback &CCC, 1846 S, &SS, CCC, CTK_ErrorRecovery))) { 1999 CorrectionCandidateCallback *CCC, 2114 assert((!CCC || CCC->IsAddressOfOperand == IsAddressOfOperand) && 2116 if (DiagnoseEmptyLookup(S, SS, R, CCC ? *CCC : DefaultValidator)) 4086 FunctionCallCCC CCC(S, FuncName.getAsIdentifierInfo(), Args.size(), ME); 4090 S.getScopeForContext(S.CurContext), nullptr, CCC, 1725 DiagnoseEmptyLookup(Scope *S, CXXScopeSpec &SS, LookupResult &R, CorrectionCandidateCallback &CCC, TemplateArgumentListInfo *ExplicitTemplateArgs, ArrayRef<Expr *> Args) argument 1993 ActOnIdExpression(Scope *S, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, bool HasTrailingLParen, bool IsAddressOfOperand, CorrectionCandidateCallback *CCC, bool IsInlineAsmIdentifier) argument
|
/external/clang/lib/Parse/ |
H A D | Parser.cpp | 1320 /// \param CCC Indicates how to perform typo-correction for this name. If NULL, 1324 CorrectionCandidateCallback *CCC) { 1364 IsAddressOfOperand, SS.isEmpty() ? CCC : nullptr); 1323 TryAnnotateName(bool IsAddressOfOperand, CorrectionCandidateCallback *CCC) argument
|
H A D | ParseDecl.cpp | 2488 Sema::ParserCompletionContext CCC = Sema::PCC_Namespace; local 2507 CCC = Sema::PCC_LocalDeclarationSpecifiers; 2509 CCC = DSContext == DSC_class? Sema::PCC_MemberTemplate 2512 CCC = Sema::PCC_Class; 2514 CCC = Sema::PCC_ObjCImplementation; 2516 Actions.CodeCompleteOrdinaryName(getCurScope(), CCC); local
|