Searched refs:Sema (Results 1 - 25 of 102) sorted by relevance

12345

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaConsumer.h21 class Sema;
33 /// \brief Initialize the semantic consumer with the Sema instance
36 virtual void InitializeSema(Sema &S) {}
38 /// \brief Inform the semantic consumer that Sema is no longer available.
H A DPrettyDeclStackTrace.h25 class Sema;
32 Sema &S;
38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc,
H A DSemaFixItUtils.h1 //===--- SemaFixItUtils.h - Sema FixIts -----------------------------------===//
10 // This file defines helper classes for generation of Sema FixItHints.
28 class Sema;
37 Sema &S,
54 Sema &S,
78 Sema &S);
H A DSemaLambda.h19 #include "clang/Sema/ScopeInfo.h"
35 DeclContext *const CurContext, VarDecl *VD, Sema &S);
H A DAnalysisBasedWarnings.h1 //=- AnalysisBasedWarnings.h - Sema warnings based on libAnalysis -*- C++ -*-=//
10 // This file defines AnalysisBasedWarnings, a worker object used by Sema
26 class Sema;
48 Sema &S;
91 AnalysisBasedWarnings(Sema &s);
H A DSemaInternal.h1 //===--- SemaInternal.h - Internal Sema Interfaces --------------*- C++ -*-===//
11 // implementation of Sema.
19 #include "clang/Sema/Sema.h"
20 #include "clang/Sema/SemaDiagnostic.h"
24 inline PartialDiagnostic Sema::PDiag(unsigned DiagID) {
46 SourceLocation Loc, Sema &SemaRef,
57 SemaRef.tryCaptureVariable(Var, Loc, Sema::TryCapture_Implicit,
H A DLookup.h11 // Sema's name-lookup subsystem.
19 #include "clang/Sema/Sema.h"
129 LookupResult(Sema &SemaRef, const DeclarationNameInfo &NameInfo, argument
130 Sema::LookupNameKind LookupKind,
131 Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration)
139 Redecl(Redecl != Sema::NotForRedeclaration),
141 Diagnose(Redecl == Sema::NotForRedeclaration),
142 AllowHidden(Redecl == Sema
151 LookupResult(Sema &SemaRef, DeclarationName Name, SourceLocation NameLoc, Sema::LookupNameKind LookupKind, Sema::RedeclarationKind Redecl = Sema::NotForRedeclaration) argument
[all...]
H A DDesignator.h25 class Sema;
171 void ClearExprs(Sema &Actions) {}
175 void FreeExprs(Sema &Actions) {}
201 void ClearExprs(Sema &Actions) {}
205 void FreeExprs(Sema &Actions) {}
H A DLocInfoType.h27 /// and Sema, when we want to preserve type source info for a parsed type.
46 friend class Sema;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DTargetAttributesSema.h17 class Sema;
23 const AttributeList &Attr, Sema &S) const;
H A DSemaAttr.cpp15 #include "clang/Sema/SemaInternal.h"
21 #include "clang/Sema/Lookup.h"
110 void Sema::FreePackedContext() {
115 void Sema::AddAlignmentAttributesForRecord(RecordDecl *RD) {
133 void Sema::AddMsStructLayoutForRecord(RecordDecl *RD) {
139 void Sema::ActOnPragmaOptionsAlign(PragmaOptionsAlignKind Kind,
185 void Sema::ActOnPragmaPack(PragmaPackKind Kind, IdentifierInfo *Name,
215 case Sema::PPK_Default: // pack([n])
219 case Sema::PPK_Show: // pack(show)
232 case Sema
[all...]
H A DSemaTemplateDeduction.cpp13 #include "clang/Sema/TemplateDeduction.h"
22 #include "clang/Sema/DeclSpec.h"
23 #include "clang/Sema/Sema.h"
24 #include "clang/Sema/Template.h"
86 static Sema::TemplateDeductionResult
87 DeduceTemplateArguments(Sema &S,
118 static Sema::TemplateDeductionResult
119 DeduceTemplateArgumentsByTypeMatch(Sema &S,
131 static Sema
[all...]
H A DTargetAttributesSema.cpp18 #include "clang/Sema/SemaInternal.h"
25 const AttributeList &Attr, Sema &S) const {
30 const AttributeList &Attr, Sema &S) {
63 const AttributeList &Attr, Sema &S) const {
74 const AttributeList &Attr, Sema &S) {
110 const AttributeList &Attr, Sema &S) const {
122 Sema &S) {
152 DLLImportAttr *Sema::mergeDLLImportAttr(Decl *D, SourceRange Range,
175 static void HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) {
208 DLLExportAttr *Sema
[all...]
H A DSemaAccess.cpp10 // This file provides Sema routines for C++ access control semantics.
14 #include "clang/Sema/SemaInternal.h"
22 #include "clang/Sema/DelayedDiagnostic.h"
23 #include "clang/Sema/Initialization.h"
24 #include "clang/Sema/Lookup.h"
29 /// A copy of Sema's enum without AR_delayed.
39 bool Sema::SetMemberAccessSpecifier(NamedDecl *MemberDecl,
205 const CXXRecordDecl *resolveInstanceContext(Sema &S) const {
272 /// This should probably be donated to AST or at least Sema.
325 static bool MightInstantiateTo(Sema
[all...]
H A DSemaStmtAttr.cpp14 #include "clang/Sema/SemaInternal.h"
19 #include "clang/Sema/DelayedDiagnostic.h"
20 #include "clang/Sema/Lookup.h"
21 #include "clang/Sema/ScopeInfo.h"
27 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
48 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
67 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
H A DSema.cpp1 //===--- Sema.cpp - AST Builder and Semantic Analysis Implementation ------===//
15 #include "clang/Sema/SemaInternal.h"
30 #include "clang/Sema/CXXFieldCollector.h"
31 #include "clang/Sema/DelayedDiagnostic.h"
32 #include "clang/Sema/ExternalSemaSource.h"
33 #include "clang/Sema/MultiplexExternalSemaSource.h"
34 #include "clang/Sema/ObjCMethodList.h"
35 #include "clang/Sema/PrettyDeclStackTrace.h"
36 #include "clang/Sema/Scope.h"
37 #include "clang/Sema/ScopeInf
70 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, function in class:Sema
[all...]
H A DSemaOverload.cpp10 // This file provides Sema routines for C++ overloading.
14 #include "clang/Sema/Overload.h"
26 #include "clang/Sema/Initialization.h"
27 #include "clang/Sema/Lookup.h"
28 #include "clang/Sema/SemaInternal.h"
29 #include "clang/Sema/Template.h"
30 #include "clang/Sema/TemplateDeduction.h"
42 CreateFunctionRefExpr(Sema &S, FunctionDecl *Fn, NamedDecl *FoundDecl,
70 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
76 static bool IsTransparentUnionStandardConversion(Sema
[all...]
H A DSemaStmt.cpp14 #include "clang/Sema/SemaInternal.h"
26 #include "clang/Sema/Initialization.h"
27 #include "clang/Sema/Lookup.h"
28 #include "clang/Sema/Scope.h"
29 #include "clang/Sema/ScopeInfo.h"
38 StmtResult Sema::ActOnExprStmt(ExprResult FE) {
56 StmtResult Sema::ActOnExprStmtError() {
61 StmtResult Sema::ActOnNullStmt(SourceLocation SemiLoc,
66 StmtResult Sema::ActOnDeclStmt(DeclGroupPtrTy dg, SourceLocation StartLoc,
76 void Sema
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Parse/
H A DParseAST.h24 class Sema;
44 void ParseAST(Sema &S, bool PrintStats = false,
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/Dynamic/
H A DParser.h17 /// to a Sema object received as an argument.
52 /// The parser uses the Sema instance passed into
60 class Sema { class in class:clang::ast_matchers::dynamic::Parser
62 virtual ~Sema();
92 /// use the overload below that takes a Sema.
107 /// \param S The Sema instance that will help the parser
114 parseMatcherExpression(StringRef MatcherCode, Sema *S, Diagnostics *Error);
129 static bool parseExpression(StringRef Code, Sema *S,
136 Parser(CodeTokenizer *Tokenizer, Sema *S,
143 Sema *cons
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DCommentSema.cpp28 Sema::Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, function in class:clang::comments::Sema
35 void Sema::setDecl(const Decl *D) {
44 ParagraphComment *Sema::actOnParagraphComment(
49 BlockCommandComment *Sema::actOnBlockCommandStart(
61 void Sema::actOnBlockCommandArgs(BlockCommandComment *Command,
66 void Sema::actOnBlockCommandFinish(BlockCommandComment *Command,
75 ParamCommandComment *Sema::actOnParamCommandStart(
93 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) {
126 void Sema
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseAST.cpp22 #include "clang/Sema/CodeCompleteConsumer.h"
23 #include "clang/Sema/ExternalSemaSource.h"
24 #include "clang/Sema/Sema.h"
25 #include "clang/Sema/SemaConsumer.h"
91 OwningPtr<Sema> S(new Sema(PP, Ctx, *Consumer, TUKind, CompletionConsumer));
94 llvm::CrashRecoveryContextCleanupRegistrar<Sema> CleanupSema(S.get());
99 void clang::ParseAST(Sema &S, bool PrintStats, bool SkipFunctionBodies) {
106 // Also turn on collection of stats inside of the Sema objec
[all...]
H A DParsePragma.cpp18 #include "clang/Sema/Scope.h"
43 Sema::PragmaPackKind Kind;
67 Sema::PragmaMSStructKind Kind =
68 static_cast<Sema::PragmaMSStructKind>(
76 Sema::PragmaOptionsAlignKind Kind =
77 static_cast<Sema::PragmaOptionsAlignKind>(
259 Sema::PragmaPackKind Kind = Sema::PPK_Default;
274 Kind = Sema::PPK_Push;
278 Kind = Sema
[all...]
H A DParsePragma.h20 class Sema;
119 PragmaCommentHandler(Sema &Actions)
124 Sema &Actions;
129 PragmaDetectMismatchHandler(Sema &Actions)
134 Sema &Actions;
/freebsd-9.3-release/lib/clang/libclangsema/
H A DMakefile7 SRCDIR= tools/clang/lib/Sema
18 Sema.cpp \

Completed in 330 milliseconds

12345