Searched refs:SourceLocation (Results 1 - 25 of 312) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DPPConditionalDirectiveRecord.h17 #include "clang/Basic/SourceLocation.h"
29 SmallVector<SourceLocation, 6> CondDirectiveStack;
32 SourceLocation Loc;
33 SourceLocation RegionLoc;
36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc)
39 SourceLocation getLoc() const { return Loc; }
40 SourceLocation getRegionLoc() const { return RegionLoc; }
50 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) {
53 bool operator()(SourceLocation LH
[all...]
H A DScratchBuffer.h17 #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);
H A DPPCallbacks.h19 #include "clang/Basic/SourceLocation.h"
27 class SourceLocation;
49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
120 virtual void InclusionDirective(SourceLocation HashLoc,
141 virtual void moduleImport(SourceLocation ImportLoc,
156 virtual void Ident(SourceLocation Loc, const std::string &str) {
160 virtual void PragmaDirective(SourceLocation Loc,
165 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
171 virtual void PragmaDetectMismatch(SourceLocation Loc,
179 virtual void PragmaDebug(SourceLocation Lo
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DSelectorLocationsKind.h22 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);
H A DStmtOpenMP.h19 #include "clang/Basic/SourceLocation.h"
33 SourceLocation StartLoc;
35 SourceLocation EndLoc;
39 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc)
45 SourceLocation getLocStart() const { return StartLoc; }
47 SourceLocation getLocEnd() const { return EndLoc; }
50 void setLocStart(SourceLocation Loc) { StartLoc = Loc; }
52 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; }
75 SourceLocation LParenLo
[all...]
H A DCommentSema.h19 #include "clang/Basic/SourceLocation.h"
64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
94 BlockCommandComment *actOnBlockCommandStart(SourceLocation LocBegin,
95 SourceLocation LocEnd,
105 ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin,
106 SourceLocation LocEnd,
111 SourceLocation ArgLocBegin,
112 SourceLocation ArgLocEnd,
116 SourceLocation ArgLocBegin,
117 SourceLocation ArgLocEn
[all...]
H A DStmtCXX.h30 SourceLocation CatchLoc;
37 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock)
44 SourceLocation getLocStart() const LLVM_READONLY { return CatchLoc; }
45 SourceLocation getLocEnd() const LLVM_READONLY {
49 SourceLocation getCatchLoc() const { return CatchLoc; }
66 SourceLocation TryLoc;
69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
82 static CXXTryStmt *Create(const ASTContext &C, SourceLocation tryLoc,
88 SourceLocation getLocStart() const LLVM_READONLY { return getTryLoc(); }
89 SourceLocation getLocEn
[all...]
H A DTypeLoc.h121 SourceLocation getBeginLoc() const;
124 SourceLocation getEndLoc() const;
130 SourceLocation getLocStart() const LLVM_READONLY { return getBeginLoc(); }
131 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); }
159 void initialize(ASTContext &Context, SourceLocation Loc) const {
194 SourceLocation Loc);
248 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
447 SourceLocation NameLoc;
460 SourceLocation getNameLoc() const {
463 void setNameLoc(SourceLocation Lo
[all...]
H A DStmtObjC.h27 SourceLocation ForLoc;
28 SourceLocation RParenLoc;
31 SourceLocation FCL, SourceLocation RPL);
53 SourceLocation getForLoc() const { return ForLoc; }
54 void setForLoc(SourceLocation Loc) { ForLoc = Loc; }
55 SourceLocation getRParenLoc() const { return RParenLoc; }
56 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; }
58 SourceLocation getLocStart() const LLVM_READONLY { return ForLoc; }
59 SourceLocation getLocEn
[all...]
H A DExprObjC.h31 SourceLocation AtLoc;
33 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L)
44 SourceLocation getAtLoc() const { return AtLoc; }
45 void setAtLoc(SourceLocation L) { AtLoc = L; }
47 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
48 SourceLocation getLocEnd() const LLVM_READONLY { return String->getLocEnd(); }
62 SourceLocation Loc;
64 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) :
74 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
75 SourceLocation getLocEn
[all...]
H A DCommentBriefParser.h38 SourceLocation ConsumeToken() {
39 SourceLocation Loc = Tok.getLocation();
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DSelectorLocationsKind.cpp20 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 getArgLo
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DThreadSafety.h23 #include "clang/Basic/SourceLocation.h"
75 /// \param Loc -- the SourceLocation of the unresolved expression.
76 virtual void handleInvalidLockExp(SourceLocation Loc) {}
82 /// \param Loc -- The SourceLocation of the Unlock
83 virtual void handleUnmatchedUnlock(Name LockName, SourceLocation Loc) {}
89 virtual void handleDoubleLock(Name LockName, SourceLocation Loc) {}
104 SourceLocation LocLocked,
105 SourceLocation LocEndOfScope,
115 virtual void handleExclusiveAndShared(Name LockName, SourceLocation Loc1,
116 SourceLocation Loc
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
H A DSourceLocation.h1 //===--- SourceLocation.h - Compact identifier for Source Files -*- C++ -*-===//
11 /// \brief Defines the clang::SourceLocation class and associated facilities.
83 /// In addition, one bit of SourceLocation is used for quick access to the
87 class SourceLocation { class in namespace:clang
97 SourceLocation() : ID(0) {} function
102 /// \brief Return true if this is a valid SourceLocation object.
116 static SourceLocation getFileLoc(unsigned ID) {
118 SourceLocation L;
123 static SourceLocation getMacroLoc(unsigned ID) {
125 SourceLocation
[all...]
H A DPrettyStackTrace.h20 #include "clang/Basic/SourceLocation.h"
29 SourceLocation Loc;
32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
H A DSourceManager.h40 #include "clang/Basic/SourceLocation.h"
175 SourceLocation Loc = SourceLocation(),
240 unsigned IncludeLoc; // Really a SourceLocation
258 static FileInfo get(SourceLocation IL, const ContentCache *Con,
270 SourceLocation getIncludeLoc() const {
271 return SourceLocation::getFromRawEncoding(IncludeLoc);
305 /// macro-argument instantiations, the end will be 'SourceLocation()', an
310 SourceLocation getSpellingLoc() const {
311 return SourceLocation
796 createFileIDForMemBuffer(const llvm::MemoryBuffer *Buffer, SrcMgr::CharacteristicKind FileCharacter = SrcMgr::C_User, int LoadedID = 0, unsigned LoadedOffset = 0, SourceLocation IncludeLoc = SourceLocation()) argument
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Sema/
H A DWeak.h18 #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; }
H A DDeclSpec.h73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); }
74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); }
75 SourceLocation getBeginLoc() const { return Range.getBegin(); }
76 SourceLocation getEndLoc() const { return Range.getEnd(); }
94 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
95 SourceLocation ColonColonLoc);
109 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
123 SourceLocation NamespaceLoc, SourceLocation ColonColonLo
[all...]
H A DSema.h201 SourceLocation> UnexpandedParameterPack;
789 llvm::DenseMap<ParmVarDecl *, SourceLocation> UnparsedDefaultArgLocs;
793 llvm::DenseMap<NamedDecl *, SourceLocation> UndefinedButUsed;
797 SmallVectorImpl<std::pair<NamedDecl *, SourceLocation> > &Undefined);
812 llvm::DenseMap<Selector, SourceLocation> ReferencedSelectors;
939 SemaDiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
945 SemaDiagnosticBuilder Diag(SourceLocation Loc, const PartialDiagnostic& PD);
950 bool findMacroSpelling(SourceLocation &loc, StringRef name);
954 getFixItZeroInitializerForType(QualType T, SourceLocation Loc) const;
955 std::string getFixItZeroLiteralForType(QualType T, SourceLocation Lo
[all...]
H A DDesignator.h18 #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
[all...]
H A DParsedTemplate.h44 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc)
58 SourceLocation TemplateLoc)
88 SourceLocation getLocation() const { return Loc; }
100 SourceLocation getEllipsisLoc() const {
111 SourceLocation EllipsisLoc) const;
126 SourceLocation Loc;
130 SourceLocation EllipsisLoc;
147 SourceLocation TemplateKWLoc;
151 SourceLocation TemplateNameLoc;
168 SourceLocation LAngleLo
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp21 CondDirectiveStack.push_back(SourceLocation());
41 SourceLocation uppRegion;
48 SourceLocation PPConditionalDirectiveRecord::findConditionalDirectiveRegionLoc(
49 SourceLocation Loc) const {
51 return SourceLocation();
53 return SourceLocation();
78 void PPConditionalDirectiveRecord::If(SourceLocation Loc,
85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc,
92 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc,
99 void PPConditionalDirectiveRecord::Elif(SourceLocation Lo
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Edit/
H A DEditsReceiver.h16 class SourceLocation;
25 virtual void insert(SourceLocation loc, StringRef text) = 0;
H A DCommit.h36 SourceLocation OrigLoc;
42 SourceLocation getFileLocation(SourceManager &SM) const;
68 bool insert(SourceLocation loc, StringRef text, bool afterToken = false,
70 bool insertAfterToken(SourceLocation loc, StringRef text,
74 bool insertBefore(SourceLocation loc, StringRef text) {
78 bool insertFromRange(SourceLocation loc, CharSourceRange range,
87 bool replaceText(SourceLocation loc, StringRef text,
90 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
115 void addInsert(SourceLocation OrigLoc,
117 void addInsertFromRange(SourceLocation OrigLo
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h21 #include "clang/Basic/SourceLocation.h"
56 SourceLocation LastLoc;
62 SourceLocation LastIncludeLoc;
75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
89 virtual void emitCodeContext(SourceLocation Loc,
95 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
97 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
100 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
111 void emitIncludeStack(SourceLocation Lo
[all...]

Completed in 240 milliseconds

1234567891011>>