/external/clang/lib/Parse/ |
ParseInit.cpp | 17 #include "clang/Sema/Designator.h" 18 #include "clang/Sema/Scope.h" 273 switch (Sema::ObjCMessageKind Kind 278 case Sema::ObjCSuperMessage: 279 case Sema::ObjCClassMessage: 281 if (Kind == Sema::ObjCSuperMessage) 297 case Sema::ObjCInstanceMessage: 308 // expression (allowing *=, =, etc) to handle the objc case. Sema needs 310 // FIXME: We also need to tell Sema that we're in a
|
RAIIObjectsForParser.h | 20 #include "clang/Sema/DelayedDiagnostic.h" 21 #include "clang/Sema/Sema.h" 45 Sema &S; 46 sema::DelayedDiagnosticPool DiagnosticPool; 47 Sema::ParsingDeclState State; 85 Sema &Actions; 86 sema::DelayedDiagnosticPool DiagnosticPool; 87 Sema::ParsingDeclState State; 102 const sema::DelayedDiagnosticPool *parentPool [all...] |
Parser.cpp | 20 #include "clang/Sema/DeclSpec.h" 21 #include "clang/Sema/ParsedTemplate.h" 22 #include "clang/Sema/Scope.h" 31 Sema &S; 34 explicit ActionCommentHandler(Sema &S) : S(S) { } 51 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies) 551 //else don't tell Sema that we ended parsing: more input might come. 675 CurParsedObjCImpl? Sema::PCC_ObjCImplementation 676 : Sema::PCC_Namespace); [all...] |
ParseDeclCXX.cpp | 19 #include "clang/Sema/DeclSpec.h" 20 #include "clang/Sema/ParsedTemplate.h" 21 #include "clang/Sema/PrettyDeclStackTrace.h" 22 #include "clang/Sema/Scope.h" 23 #include "clang/Sema/SemaDiagnostic.h" 700 EnterExpressionEvaluationContext Unevaluated(Actions, Sema::Unevaluated, [all...] |
ParseExpr.cpp | 27 #include "clang/Sema/DeclSpec.h" 28 #include "clang/Sema/ParsedTemplate.h" 29 #include "clang/Sema/Scope.h" 30 #include "clang/Sema/TypoCorrection.h" 158 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); 200 Sema::ConstantEvaluated); [all...] |
ParseDecl.cpp | 20 #include "clang/Sema/Lookup.h" 21 #include "clang/Sema/ParsedTemplate.h" 22 #include "clang/Sema/PrettyDeclStackTrace.h" 23 #include "clang/Sema/Scope.h" 411 // attribute and allowing sema to warn about it, we will warn here instead. 521 // performed in Sema, not here. 952 Sema::CXXThisScopeRAII ThisScope(Actions, RD, [all...] |
/external/clang/lib/Sema/ |
SemaExceptionSpec.cpp | 10 // This file provides Sema routines for C++ exception specification testing. 14 #include "clang/Sema/SemaInternal.h" 44 bool Sema::CheckSpecifiedExceptionType(QualType &T, const SourceRange &Range) { 98 bool Sema::CheckDistantExceptionSpec(QualType T) { 114 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) { 153 bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) { 329 bool Sema::CheckEquivalentExceptionSpec( 346 bool Sema::CheckEquivalentExceptionSpec(const PartialDiagnostic &DiagID, 547 bool Sema::CheckExceptionSpecSubset( 718 static bool CheckSpecForTypesEquivalent(Sema &S [all...] |
SemaTemplate.cpp | 22 #include "clang/Sema/DeclSpec.h" 23 #include "clang/Sema/Lookup.h" 24 #include "clang/Sema/ParsedTemplate.h" 25 #include "clang/Sema/Scope.h" 26 #include "clang/Sema/SemaInternal.h" 27 #include "clang/Sema/Template.h" 28 #include "clang/Sema/TemplateDeduction.h" 33 using namespace sema; 86 void Sema::FilterAcceptableTemplateNames(LookupResult &R, 124 bool Sema::hasAnyAcceptableTemplateNames(LookupResult &R [all...] |
SemaPseudoObject.cpp | 33 #include "clang/Sema/SemaInternal.h" 37 #include "clang/Sema/Initialization.h" 38 #include "clang/Sema/ScopeInfo.h" 42 using namespace sema; 47 Sema &S; 48 Rebuilder(Sema &S) : S(S) {} 110 ObjCPropertyRefRebuilder(Sema &S, Expr *newBase) 138 ObjCSubscriptRefRebuilder(Sema &S, Expr *newBase, Expr *newKeyExpr) 159 Sema &S; 164 PseudoOpBuilder(Sema &S, SourceLocation genericLoc [all...] |
SemaChecking.cpp | 15 #include "clang/Sema/SemaInternal.h" 31 #include "clang/Sema/Initialization.h" 32 #include "clang/Sema/Lookup.h" 33 #include "clang/Sema/ScopeInfo.h" 34 #include "clang/Sema/Sema.h" 42 using namespace sema; 44 SourceLocation Sema::getLocationOfStringLiteralByte(const StringLiteral *SL, 52 static bool checkArgCount(Sema &S, CallExpr *call, unsigned desiredArgCount) { 72 static bool SemaBuiltinAnnotation(Sema &S, CallExpr *TheCall) [all...] |
SemaInit.cpp | 14 #include "clang/Sema/Initialization.h" 21 #include "clang/Sema/Designator.h" 22 #include "clang/Sema/Lookup.h" 23 #include "clang/Sema/SemaInternal.h" 32 // Sema Initialization Checking 86 Sema &S) { 171 Sema &SemaRef; 264 InitListChecker(Sema &S, const InitializedEntity &Entity, 471 InitListChecker::InitListChecker(Sema &S, const InitializedEntity &Entity, [all...] |
SemaType.cpp | 14 #include "clang/Sema/SemaInternal.h" 28 #include "clang/Sema/DeclSpec.h" 29 #include "clang/Sema/DelayedDiagnostic.h" 30 #include "clang/Sema/Lookup.h" 31 #include "clang/Sema/ScopeInfo.h" 32 #include "clang/Sema/Template.h" 56 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr, 116 Sema &sema; member in class:__anon5914::TypeProcessingState 140 TypeProcessingState(Sema &sema, Declarator &declarator [all...] |
SemaLambda.cpp | 13 #include "clang/Sema/DeclSpec.h" 16 #include "clang/Sema/Initialization.h" 17 #include "clang/Sema/Lookup.h" 18 #include "clang/Sema/Scope.h" 19 #include "clang/Sema/ScopeInfo.h" 20 #include "clang/Sema/SemaInternal.h" 22 using namespace sema; 24 CXXRecordDecl *Sema::createLambdaClosureType(SourceRange IntroducerRange, 54 CXXMethodDecl *Sema::startLambdaDefinition(CXXRecordDecl *Class, 173 LambdaScopeInfo *Sema::enterLambdaScope(CXXMethodDecl *CallOperator [all...] |
SemaExprMember.cpp | 13 #include "clang/Sema/SemaInternal.h" 20 #include "clang/Sema/Lookup.h" 21 #include "clang/Sema/Scope.h" 22 #include "clang/Sema/ScopeInfo.h" 25 using namespace sema; 35 static bool isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, 87 static IMAKind ClassifyImplicitMemberAccess(Sema &SemaRef, 131 const Sema::ExpressionEvaluationContextRecord& record 133 if (record.Context == Sema::Unevaluated) 181 static void diagnoseInstanceReference(Sema &SemaRef [all...] |
Android.mk | 37 Sema.cpp \
|
SemaTemplateInstantiateDecl.cpp | 12 #include "clang/Sema/SemaInternal.h" 22 #include "clang/Sema/Lookup.h" 23 #include "clang/Sema/PrettyDeclStackTrace.h" 24 #include "clang/Sema/Template.h" 61 #include "clang/Sema/AttrTemplateInstantiate.inc" 64 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs, 68 EnterExpressionEvaluationContext Unevaluated(S, Sema::ConstantEvaluated); 84 Sema &S, const MultiLevelTemplateArgumentList &TemplateArgs, 111 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(S, -1); 115 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(S, I) [all...] |
AnalysisBasedWarnings.cpp | 1 //=- AnalysisBasedWarnings.cpp - Sema warnings based on libAnalysis -*- C++ -*-=// 11 // Together they are used by Sema to issue warnings based on inexpensive 16 #include "clang/Sema/AnalysisBasedWarnings.h" 38 #include "clang/Sema/ScopeInfo.h" 39 #include "clang/Sema/SemaInternal.h" 63 Sema &S; 65 UnreachableCodeHandler(Sema &s) : S(s) {} 74 static void CheckUnreachable(Sema &S, AnalysisDeclContext &AC) { 323 static void CheckFallThroughForBody(Sema &S, const Decl *D, const Stmt *Body, 433 static bool SuggestInitializationFixit(Sema &S, const VarDecl *VD) [all...] |
SemaStmtAsm.cpp | 14 #include "clang/Sema/SemaInternal.h" 19 #include "clang/Sema/Initialization.h" 20 #include "clang/Sema/Lookup.h" 21 #include "clang/Sema/Scope.h" 22 #include "clang/Sema/ScopeInfo.h" 38 using namespace sema; 47 static bool CheckAsmLValue(const Expr *E, Sema &S) { 89 StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc, bool IsSimple, 377 static StringRef getSpelling(Sema &SemaRef, Token AsmTok) { 388 static bool buildMSAsmString(Sema &SemaRef [all...] |
SemaObjCProperty.cpp | 15 #include "clang/Sema/SemaInternal.h" 23 #include "clang/Sema/Initialization.h" 65 static void checkARCPropertyDecl(Sema &S, ObjCPropertyDecl *property) { 106 static unsigned deduceWeakPropertyFromType(Sema &S, QualType T) { 118 CheckPropertyAgainstProtocol(Sema &S, ObjCPropertyDecl *Prop, 142 Decl *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc, 325 Sema::HandlePropertyInClassExtension(Scope *S, 502 ObjCPropertyDecl *Sema::CreatePropertyDecl(Scope *S, 616 static void checkARCPropertyImpl(Sema &S, SourceLocation propertyImplLoc, 721 DiagnoseClassAndClassExtPropertyMismatch(Sema &S, ObjCInterfaceDecl *ClassDecl, [all...] |
TreeTransform.h | 28 #include "clang/Sema/Designator.h" 29 #include "clang/Sema/Lookup.h" 30 #include "clang/Sema/Ownership.h" 31 #include "clang/Sema/ParsedTemplate.h" 32 #include "clang/Sema/ScopeInfo.h" 33 #include "clang/Sema/SemaDiagnostic.h" 34 #include "clang/Sema/SemaInternal.h" 40 using namespace sema; 113 Sema &SemaRef; 122 TreeTransform(Sema &SemaRef) : SemaRef(SemaRef) { [all...] |
JumpDiagnostics.cpp | 15 #include "clang/Sema/SemaInternal.h" 26 /// JumpScopeChecker - This object is used by Sema to diagnose invalid jumps 33 Sema &S; 68 JumpScopeChecker(Stmt *Body, Sema &S); 89 JumpScopeChecker::JumpScopeChecker(Stmt *Body, Sema &s) : S(s) { 676 static bool IsCXX98CompatWarning(Sema &S, unsigned InDiagNote) { 682 static void DiagnoseIndirectJumpStmt(Sema &S, IndirectGotoStmt *Jump, 788 void Sema::DiagnoseInvalidJumps(Stmt *Body) {
|
/external/clang/include/clang/Sema/ |
Overload.h | 24 #include "clang/Sema/SemaFixItUtils.h" 34 class Sema; 559 // sequences. Use Sema::CompareImplicitConversionSequences to 567 void DiagnoseAmbiguousConversion(Sema &S, 663 /// A Sema::TemplateDeductionResult. 727 bool TryToFixBadConversion(unsigned Idx, Sema &S) { 811 OverloadingResult BestViableFunction(Sema &S, SourceLocation Loc, 815 void NoteCandidates(Sema &S, 822 bool isBetterOverloadCandidate(Sema &S,
|
Sema.h | 1 //===--- Sema.h - Semantic Analysis & AST Building --------------*- C++ -*-===// 10 // This file defines the Sema class, which performs semantic analysis and 33 #include "clang/Sema/AnalysisBasedWarnings.h" 34 #include "clang/Sema/DeclSpec.h" 35 #include "clang/Sema/ExternalSemaSource.h" 36 #include "clang/Sema/IdentifierResolver.h" 37 #include "clang/Sema/LocInfoType.h" 38 #include "clang/Sema/ObjCMethodList.h" 39 #include "clang/Sema/Ownership.h" 40 #include "clang/Sema/TypoCorrection.h 173 namespace sema { namespace in namespace:clang [all...] |
Initialization.h | 21 #include "clang/Sema/Overload.h" 22 #include "clang/Sema/Ownership.h" 35 class Sema; 764 void PrintInitLocationNote(Sema &S, const InitializedEntity &Entity); 782 InitializationSequence(Sema &S, 811 ExprResult Perform(Sema &S, 821 bool Diagnose(Sema &S, [all...] |
/external/clang/include/clang/Serialization/ |
ASTWriter.h | 22 #include "clang/Sema/SemaConsumer.h" 62 class Sema; 439 void WriteSelectors(Sema &SemaRef); 440 void WriteReferencedSelectorsPool(Sema &SemaRef); 450 void WriteOpenCLExtensions(Sema &SemaRef); 472 void WriteASTCore(Sema &SemaRef, 492 void WriteAST(Sema &SemaRef, 738 Sema *SemaPtr; 752 virtual void InitializeSema(Sema &S) { SemaPtr = &S; }
|