HomeSort by relevance Sort by last modified time
    Searched refs:SourceLocation (Results 1 - 25 of 279) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/include/clang/AST/
SelectorLocationsKind.h 22 class SourceLocation;
47 ArrayRef<SourceLocation> SelLocs,
49 SourceLocation EndLoc);
57 SourceLocation getStandardSelectorLoc(unsigned Index,
61 SourceLocation EndLoc);
65 ArrayRef<SourceLocation> SelLocs,
67 SourceLocation EndLoc);
75 SourceLocation getStandardSelectorLoc(unsigned Index,
79 SourceLocation EndLoc);
StmtObjC.h 28 SourceLocation ForLoc;
29 SourceLocation RParenLoc;
32 SourceLocation FCL, SourceLocation RPL);
54 SourceLocation getForLoc() const { return ForLoc; }
55 void setForLoc(SourceLocation Loc) { ForLoc = Loc; }
56 SourceLocation getRParenLoc() const { return RParenLoc; }
57 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; }
78 SourceLocation AtCatchLoc, RParenLoc;
81 ObjCAtCatchStmt(SourceLocation atCatchLoc, SourceLocation rparenloc
    [all...]
TypeLoc.h 91 SourceLocation getBeginLoc() const;
94 SourceLocation getEndLoc() const;
100 SourceLocation getLocStart() const LLVM_READONLY { return getBeginLoc(); }
101 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); }
133 void initialize(ASTContext &Context, SourceLocation Loc) const {
166 SourceLocation Loc);
215 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
394 SourceLocation NameLoc;
406 SourceLocation getNameLoc() const {
409 void setNameLoc(SourceLocation Loc)
    [all...]
DeclObjC.h 77 SourceLocation *Locations;
84 typedef const SourceLocation *loc_iterator;
89 const SourceLocation *Locs, ASTContext &Ctx);
165 SourceLocation EndLoc; // the location of the ';' or '}'.
187 SourceLocation *getStoredSelLocs() {
188 return reinterpret_cast<SourceLocation*>(getParams() + NumParams);
190 const SourceLocation *getStoredSelLocs() const {
191 return reinterpret_cast<const SourceLocation*>(getParams() + NumParams);
213 ArrayRef<SourceLocation> SelLocs);
215 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc
    [all...]
  /external/clang/lib/AST/
SelectorLocationsKind.cpp 20 static SourceLocation getStandardSelLoc(unsigned Index,
23 SourceLocation ArgLoc,
24 SourceLocation EndLoc) {
29 return SourceLocation();
37 return SourceLocation();
48 SourceLocation getArgLoc(T* Arg);
51 SourceLocation getArgLoc<Expr>(Expr *Arg) {
56 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) {
57 SourceLocation Loc = Arg->getLocStart();
65 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args)
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafety.h 23 #include "clang/Basic/SourceLocation.h"
73 /// \param Loc -- the SourceLocation of the unresolved expression.
74 virtual void handleInvalidLockExp(SourceLocation Loc) {}
80 /// \param Loc -- The SourceLocation of the Unlock
81 virtual void handleUnmatchedUnlock(Name LockName, SourceLocation Loc) {}
87 virtual void handleDoubleLock(Name LockName, SourceLocation Loc) {}
102 SourceLocation LocLocked,
103 SourceLocation LocEndOfScope,
113 virtual void handleExclusiveAndShared(Name LockName, SourceLocation Loc1,
114 SourceLocation Loc2) {
    [all...]
  /external/clang/include/clang/Basic/
SourceLocation.h 1 //===--- SourceLocation.h - Compact identifier for Source Files -*- C++ -*-===//
10 // This file defines the SourceLocation class.
81 /// In addition, one bit of SourceLocation is used for quick access to the
85 class SourceLocation {
95 SourceLocation() : ID(0) {}
100 /// \brief Return true if this is a valid SourceLocation object.
114 static SourceLocation getFileLoc(unsigned ID) {
116 SourceLocation L;
121 static SourceLocation getMacroLoc(unsigned ID) {
123 SourceLocation L
    [all...]
PrettyStackTrace.h 19 #include "clang/Basic/SourceLocation.h"
28 SourceLocation Loc;
31 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
SourceManager.h 18 #include "clang/Basic/SourceLocation.h"
150 SourceLocation Loc = SourceLocation(),
211 unsigned IncludeLoc; // Really a SourceLocation
228 static FileInfo get(SourceLocation IL, const ContentCache *Con,
240 SourceLocation getIncludeLoc() const {
241 return SourceLocation::getFromRawEncoding(IncludeLoc);
276 /// macro-argument instantitions, the end will be 'SourceLocation()', an
281 SourceLocation getSpellingLoc() const {
282 return SourceLocation::getFromRawEncoding(SpellingLoc)
    [all...]
  /external/clang/tools/libclang/
CXSourceLocation.h 18 #include "clang/Basic/SourceLocation.h"
31 SourceLocation Loc) {
42 SourceLocation Loc) {
66 static inline SourceLocation translateSourceLocation(CXSourceLocation L) {
67 return SourceLocation::getFromRawEncoding(L.int_data);
71 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
72 SourceLocation::getFromRawEncoding(R.end_int_data));
CXCursor.h 18 #include "clang/Basic/SourceLocation.h"
48 CXCursor getCursor(CXTranslationUnit, SourceLocation);
62 SourceLocation Loc,
67 std::pair<ObjCInterfaceDecl *, SourceLocation>
72 SourceLocation Loc,
77 std::pair<ObjCProtocolDecl *, SourceLocation>
82 SourceLocation Loc,
87 std::pair<ObjCInterfaceDecl *, SourceLocation>
91 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc,
96 std::pair<TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C)
    [all...]
  /external/clang/include/clang/Lex/
PPCallbacks.h 18 #include "clang/Basic/SourceLocation.h"
24 class SourceLocation;
41 /// entered or exited. The SourceLocation indicates the new location, and
47 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
111 virtual void InclusionDirective(SourceLocation HashLoc,
116 SourceLocation EndLoc,
130 virtual void Ident(SourceLocation Loc, const std::string &str) {
136 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
145 virtual void PragmaMessage(SourceLocation Loc, StringRef Str) {
150 virtual void PragmaDiagnosticPush(SourceLocation Loc
    [all...]
ModuleLoader.h 18 #include "clang/Basic/SourceLocation.h"
27 typedef llvm::ArrayRef<std::pair<IdentifierInfo*, SourceLocation> >
58 virtual Module *loadModule(SourceLocation ImportLoc, ModuleIdPath Path,
ScratchBuffer.h 17 #include "clang/Basic/SourceLocation.h"
28 SourceLocation BufferStartLoc;
34 /// return a SourceLocation that refers to the token. This is just like the
37 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
TokenLexer.h 17 #include "clang/Basic/SourceLocation.h"
64 SourceLocation ExpandLocStart, ExpandLocEnd;
68 SourceLocation MacroExpansionStart;
75 SourceLocation MacroDefStart;
101 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroArgs *ActualArgs,
111 void Init(Token &Tok, SourceLocation ILEnd, MacroArgs *ActualArgs);
174 SourceLocation getExpansionLocForMacroDefLoc(SourceLocation loc) const;
181 void updateLocForMacroArgTokens(SourceLocation ArgIdSpellLoc,
  /external/clang/include/clang/Frontend/
DiagnosticRenderer.h 21 #include "clang/Basic/SourceLocation.h"
55 SourceLocation LastLoc;
61 SourceLocation LastIncludeLoc;
75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
81 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
87 virtual void emitCodeContext(SourceLocation Loc,
92 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc) = 0;
101 void emitIncludeStack(SourceLocation Loc, DiagnosticsEngine::Level Level);
102 void emitIncludeStackRecursively(SourceLocation Loc);
103 void emitMacroExpansionsAndCarets(SourceLocation Loc
    [all...]
  /external/clang/include/clang/Sema/
Weak.h 18 #include "clang/Basic/SourceLocation.h"
27 SourceLocation loc; // for diagnostics
31 : alias(0), loc(SourceLocation()), used(false) {}
32 WeakInfo(IdentifierInfo *Alias, SourceLocation Loc)
35 inline SourceLocation getLocation() const { return loc; }
Sema.h 181 SourceLocation> UnexpandedParameterPack;
737 llvm::DenseMap<ParmVarDecl *,SourceLocation> UnparsedDefaultArgLocs;
741 llvm::DenseMap<NamedDecl*, SourceLocation> UndefinedInternals;
754 llvm::DenseMap<Selector, SourceLocation> ReferencedSelectors;
829 SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
835 SemaDiagnosticBuilder Diag(SourceLocation Loc, const PartialDiagnostic& PD);
840 bool findMacroSpelling(SourceLocation &loc, StringRef name);
885 QualType BuildQualifiedType(QualType T, SourceLocation Loc, Qualifiers Qs);
886 QualType BuildQualifiedType(QualType T, SourceLocation Loc, unsigned CVR) {
890 SourceLocation Loc, DeclarationName Entity)
    [all...]
DeclSpec.h 69 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); }
70 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); }
71 SourceLocation getBeginLoc() const { return Range.getBegin(); }
72 SourceLocation getEndLoc() const { return Range.getEnd(); }
90 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
91 SourceLocation ColonColonLoc);
105 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
119 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc)
    [all...]
Designator.h 18 #include "clang/Basic/SourceLocation.h"
79 SourceLocation getDotLoc() const {
81 return SourceLocation::getFromRawEncoding(FieldInfo.DotLoc);
84 SourceLocation getFieldLoc() const {
86 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc);
103 SourceLocation getLBracketLoc() const {
107 return SourceLocation::getFromRawEncoding(ArrayInfo.LBracketLoc);
109 return SourceLocation::getFromRawEncoding(ArrayRangeInfo.LBracketLoc);
112 SourceLocation getRBracketLoc() const {
116 return SourceLocation::getFromRawEncoding(ArrayInfo.RBracketLoc)
    [all...]
TemplateDeduction.h 40 SourceLocation Loc;
51 TemplateDeductionInfo(ASTContext &Context, SourceLocation Loc)
60 SourceLocation getLocation() const {
79 void addSuppressedDiagnostic(SourceLocation Loc,
ParsedTemplate.h 44 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc)
58 SourceLocation TemplateLoc)
88 SourceLocation getLocation() const { return Loc; }
100 SourceLocation getEllipsisLoc() const {
111 SourceLocation EllipsisLoc) const;
122 SourceLocation Loc;
130 SourceLocation EllipsisLoc;
147 SourceLocation TemplateKWLoc;
151 SourceLocation TemplateNameLoc;
168 SourceLocation LAngleLoc
    [all...]
PrettyDeclStackTrace.h 19 #include "clang/Basic/SourceLocation.h"
34 SourceLocation Loc;
38 PrettyDeclStackTraceEntry(Sema &S, Decl *D, SourceLocation Loc,
  /external/clang/include/clang/Edit/
EditsReceiver.h 16 class SourceLocation;
25 virtual void insert(SourceLocation loc, StringRef text) = 0;
Commit.h 35 SourceLocation OrigLoc;
41 SourceLocation getFileLocation(SourceManager &SM) const;
64 bool insert(SourceLocation loc, StringRef text, bool afterToken = false,
66 bool insertAfterToken(SourceLocation loc, StringRef text,
70 bool insertBefore(SourceLocation loc, StringRef text) {
74 bool insertFromRange(SourceLocation loc, CharSourceRange range,
83 bool replaceText(SourceLocation loc, StringRef text,
86 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
111 void addInsert(SourceLocation OrigLoc,
113 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs
    [all...]

Completed in 2210 milliseconds

1 2 3 4 5 6 7 8 91011>>