/external/clang/include/clang/ASTMatchers/Dynamic/ |
H A D | Parser.h | 17 /// to a Sema object received as an argument. 54 /// The parser uses the Sema instance passed into 62 class Sema { class in class:clang::ast_matchers::dynamic::Parser 64 virtual ~Sema(); 68 /// This can be used in the Sema layer to declare known constants or to 110 /// \brief Sema implementation that uses the matcher registry to process the 112 class RegistrySema : public Parser::Sema { 130 /// use the overload below that takes a Sema. 145 /// \param S The Sema instance that will help the parser 152 parseMatcherExpression(StringRef MatcherCode, Sema * [all...] |
/external/clang/include/clang/AST/ |
H A D | CommentSema.h | 33 class Sema { class in namespace:clang::comments 34 Sema(const Sema &) LLVM_DELETED_FUNCTION; 35 void operator=(const Sema &) LLVM_DELETED_FUNCTION; 73 Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, 79 /// Returns a copy of array, owned by Sema's allocator.
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
H A D | ParserTest.cpp | 24 class MockSema : public Parser::Sema { 76 MockSema Sema; local 77 Sema.parse("0"); 78 Sema.parse("123"); 79 Sema.parse("0x1f"); 80 Sema.parse("12345678901"); 81 Sema.parse("1a1"); 82 EXPECT_EQ(5U, Sema.Values.size()); 83 EXPECT_EQ(0U, Sema.Values[0].getUnsigned()); 84 EXPECT_EQ(123U, Sema 91 MockSema Sema; local 119 MockSema Sema; local 187 NamedSema Sema; local [all...] |
/external/clang/lib/Sema/ |
H A D | Sema.cpp | 1 //===--- 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 76 Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer, function in class:Sema [all...] |
H A D | SemaExpr.cpp | 14 #include "clang/Sema/SemaInternal.h" 34 #include "clang/Sema/AnalysisBasedWarnings.h" 35 #include "clang/Sema/DeclSpec.h" 36 #include "clang/Sema/DelayedDiagnostic.h" 37 #include "clang/Sema/Designator.h" 38 #include "clang/Sema/Initialization.h" 39 #include "clang/Sema/Lookup.h" 40 #include "clang/Sema/ParsedTemplate.h" 41 #include "clang/Sema/Scope.h" 42 #include "clang/Sema/ScopeInf 8595 CheckIdentityFieldAssignment(Expr *LHSExpr, Expr *RHSExpr, SourceLocation Loc, Sema &Sema) argument [all...] |
/external/clang/lib/ASTMatchers/Dynamic/ |
H A D | Parser.cpp | 259 Parser::Sema::~Sema() {} 261 VariantValue Parser::Sema::getNamedValue(StringRef Name) { 497 Parser::Parser(CodeTokenizer *Tokenizer, Sema *S, 525 bool Parser::parseExpression(StringRef Code, Sema *S, 556 Parser::parseMatcherExpression(StringRef Code, Parser::Sema *S,
|
/external/clang/include/clang/Sema/ |
H A D | Lookup.h | 11 // 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 D | Sema.h | 1 //===--- Sema.h - Semantic Analysis & AST Building --------------*- C++ -*-===// 10 // This file defines the Sema class, which performs semantic analysis and 34 #include "clang/Sema/AnalysisBasedWarnings.h" 35 #include "clang/Sema/DeclSpec.h" 36 #include "clang/Sema/ExternalSemaSource.h" 37 #include "clang/Sema/IdentifierResolver.h" 38 #include "clang/Sema/LocInfoType.h" 39 #include "clang/Sema/ObjCMethodList.h" 40 #include "clang/Sema/Ownership.h" 41 #include "clang/Sema/Scop 208 class Sema { class in namespace:clang [all...] |
/external/clang/lib/AST/ |
H A D | CommentSema.cpp | 28 Sema::Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, function in class:clang::comments::Sema 36 void Sema::setDecl(const Decl *D) { 45 ParagraphComment *Sema::actOnParagraphComment( 50 BlockCommandComment *Sema::actOnBlockCommandStart( 62 void Sema::actOnBlockCommandArgs(BlockCommandComment *Command, 67 void Sema::actOnBlockCommandFinish(BlockCommandComment *Command, 80 ParamCommandComment *Sema::actOnParamCommandStart( 98 void Sema::checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment) { 131 void Sema [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGExprScalar.cpp | 629 const llvm::fltSemantics &Sema = local 632 MinSrc.convert(Sema, APFloat::rmTowardZero, &IsInexact); 633 MaxSrc.convert(Sema, APFloat::rmTowardZero, &IsInexact); 2553 // assumption that Sema won't let anything through that we can't
|