/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 | 200 CorrectionCandidateCallback &CCC, 198 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 | 112 std::unique_ptr<CorrectionCandidateCallback> CCC, 118 CorrectionValidator(std::move(CCC)), MemberContext(MemberContext), 108 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 | 291 CorrectionCandidateCallback &CCC, 296 if (TypoCorrection C = Sources[I]->CorrectTypo(Typo, LookupKind, S, SS, CCC, 288 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 | 1351 static void AddStorageSpecifiers(Sema::ParserCompletionContext CCC, argument 1362 static void AddFunctionSpecifiers(Sema::ParserCompletionContext CCC, argument 1366 switch (CCC) { 1422 static bool WantTypesInContext(Sema::ParserCompletionContext CCC, argument 1424 switch (CCC) { 1518 static void AddOrdinaryNameResults(Sema::ParserCompletionContext CCC, argument 1527 switch (CCC) { 1602 if (CCC == Sema::PCC_Class) { 1637 AddStorageSpecifiers(CCC, SemaRef.getLangOpts(), Results); 1638 AddFunctionSpecifiers(CCC, SemaRe [all...] |
H A D | SemaDecl.cpp | 734 std::unique_ptr<CorrectionCandidateCallback> CCC) { 807 if (!SecondTry && CCC) { 811 &SS, std::move(CCC), 731 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 | 1798 std::unique_ptr<CorrectionCandidateCallback> CCC, 1888 R.getLookupNameInfo(), R.getLookupKind(), S, &SS, std::move(CCC), 1898 &SS, std::move(CCC), CTK_ErrorRecovery))) { 2047 std::unique_ptr<CorrectionCandidateCallback> CCC, 2164 assert((!CCC || CCC->IsAddressOfOperand == IsAddressOfOperand) && 2166 if (CCC) { 2168 CCC->setTypoName(II); 2170 CCC->setTypoNNS(SS.getScopeRep()); 2173 CCC 1797 DiagnoseEmptyLookup(Scope *S, CXXScopeSpec &SS, LookupResult &R, std::unique_ptr<CorrectionCandidateCallback> CCC, TemplateArgumentListInfo *ExplicitTemplateArgs, ArrayRef<Expr *> Args, TypoExpr **Out) argument 2044 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 | 1388 /// \param CCC Indicates how to perform typo-correction for this name. If NULL, 1392 std::unique_ptr<CorrectionCandidateCallback> CCC) { 1432 SS.isEmpty() ? std::move(CCC) : nullptr); 1391 TryAnnotateName(bool IsAddressOfOperand, std::unique_ptr<CorrectionCandidateCallback> CCC) argument
|
H A D | ParseDecl.cpp | 2692 Sema::ParserCompletionContext CCC = Sema::PCC_Namespace; local 2711 CCC = Sema::PCC_LocalDeclarationSpecifiers; 2713 CCC = DSContext == DSC_class? Sema::PCC_MemberTemplate 2716 CCC = Sema::PCC_Class; 2718 CCC = Sema::PCC_ObjCImplementation; 2720 Actions.CodeCompleteOrdinaryName(getCurScope(), CCC); local
|