Home
last modified time | relevance | path

Searched refs:Col (Results 1 – 25 of 34) sorted by relevance

12

/minix3/external/bsd/llvm/dist/clang/test/SemaCXX/
H A Dconstexpr-nqueens.cpp13 constexpr Board addQueen(int Row, int Col) { in addQueen()
14 return Board(State | ((uint64_t)Row << (Col * 4))); in addQueen()
16 constexpr int getQueenRow(int Col) { in getQueenRow()
17 return (State >> (Col * 4)) & 0xf; in getQueenRow()
19 constexpr bool ok(int Row, int Col) { in ok()
20 return okRecurse(Row, Col, 0); in ok()
22 constexpr bool okRecurse(int Row, int Col, int CheckCol) { in okRecurse()
23 return Col == CheckCol ? true : in okRecurse()
25 getQueenRow(CheckCol) == Row + (Col - CheckCol) ? false : in okRecurse()
26 getQueenRow(CheckCol) == Row + (CheckCol - Col) ? false : in okRecurse()
[all …]
/minix3/external/bsd/llvm/dist/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp16 Comment(const std::string &Message, unsigned Line, unsigned Col) in Comment()
17 : Message(Message), Line(Line), Col(Col) { } in Comment()
20 unsigned Line, Col; member
104 << Current->Col; in ~CommentVerifier()
108 void Match(const char *Message, unsigned Line, unsigned Col) { in Match() argument
113 EXPECT_TRUE(C.Message == Message && C.Line == Line && C.Col == Col) in Match()
115 << "\" at line " << Line << ", column " << Col in Match()
117 << "\" at line " << C.Line << ", column " << C.Col; in Match()
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp34 unsigned Col = 1; in renderLine() local
36 unsigned End = std::min(S->Col, static_cast<unsigned>(Line.size()) + 1); in renderLine()
39 << Line.substr(Col - 1, End - Col); in renderLine()
41 HighlightedRanges.push_back(std::make_pair(Col, End)); in renderLine()
42 Col = End; in renderLine()
43 if (Col == ExpansionCol) in renderLine()
54 << Line.substr(Col - 1, Line.size() - Col + 1); in renderLine()
62 errs() << "Highlighted line " << LineNumber << ", " << Col << " -> ?\n"; in renderLine()
122 if (S->Col > PrevColumn) in renderRegionMarkers()
123 OS.indent(S->Col - PrevColumn); in renderRegionMarkers()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DDebugLoc.cpp50 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, in get() argument
58 if (Col > 255) Col = 0; in get()
62 MDLocation::get(Scope->getContext(), Line, Col, Scope, InlinedAt)); in get()
H A DDIBuilder.cpp1108 unsigned Line, unsigned Col) { in createLexicalBlock() argument
1120 .concat(Col) in createLexicalBlock()
/minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/
H A DSerializedDiagnosticReader.h49 unsigned Col; member
51 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) in Location()
52 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {} in Location()
H A DASTUnit.h605 unsigned Line, unsigned Col) const;
/minix3/external/bsd/llvm/dist/llvm/lib/ProfileData/
H A DCoverageMapping.cpp262 void startSegment(unsigned Line, unsigned Col) { in startSegment() argument
263 DEBUG(dbgs() << "Top level segment at " << Line << ":" << Col << "\n"); in startSegment()
264 Segments.emplace_back(Line, Col, /*IsRegionEntry=*/false); in startSegment()
268 void startSegment(unsigned Line, unsigned Col, bool IsRegionEntry, in startSegment() argument
271 Segments.emplace_back(Line, Col, IsRegionEntry); in startSegment()
274 if (S.Line != Line || S.Col != Col) { in startSegment()
275 Segments.emplace_back(Line, Col, IsRegionEntry); in startSegment()
278 DEBUG(dbgs() << "Segment at " << Line << ":" << Col); in startSegment()
296 unsigned Line = Active->LineEnd, Col = Active->ColumnEnd; in popRegion() local
299 startSegment(Line, Col); in popRegion()
[all …]
/minix3/external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp10.cpp39 template<typename eT> class Col : public Mat<eT> { class
41 using Col<eT>::operator();
/minix3/external/bsd/llvm/dist/llvm/bindings/go/llvm/
H A DIRBindings.cpp95 unsigned Col, LLVMMetadataRef Scope, in LLVMSetCurrentDebugLocation2() argument
98 DebugLoc::get(Line, Col, Scope ? unwrap<MDNode>(Scope) : nullptr, in LLVMSetCurrentDebugLocation2()
H A DIRBindings.h55 unsigned Col, LLVMMetadataRef Scope,
/minix3/external/bsd/llvm/dist/llvm/include/llvm/ProfileData/
H A DCoverageMapping.h304 unsigned Col; member
312 CoverageSegment(unsigned Line, unsigned Col, bool IsRegionEntry) in CoverageSegment()
313 : Line(Line), Col(Col), Count(0), HasCount(false), in CoverageSegment()
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DSourceLocation.h357 unsigned Line, Col; variable
362 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { in PresumedLoc()
385 unsigned getColumn() const { return Col; } in getColumn()
H A DSourceManager.h1412 unsigned Line, unsigned Col) const;
1423 unsigned Line, unsigned Col) const;
/minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DDebugLoc.h51 static DebugLoc get(unsigned Line, unsigned Col, MDNode *Scope,
H A DDIBuilder.h641 unsigned Line, unsigned Col);
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp850 Record.push_back(Start.Col); in visitSourceRangeRecord()
854 Record.push_back(End.Col); in visitSourceRangeRecord()
870 MergedRecord.push_back(Location.Col); in visitDiagnosticRecord()
889 Record.push_back(Start.Col); in visitFixitRecord()
893 Record.push_back(End.Col); in visitFixitRecord()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DCommentHTMLTags.td50 def Col : Tag<"col"> { let EndTagForbidden = 1; }
/minix3/external/bsd/llvm/dist/llvm/lib/Support/
H A DSourceMgr.cpp235 int Line, int Col, SourceMgr::DiagKind Kind, in SMDiagnostic() argument
239 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind), in SMDiagnostic()
/minix3/external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/
H A Dtoy.cpp108 int Col; member
118 LexLoc.Col = 0; in advance()
120 LexLoc.Col++; in advance()
208 int getCol() const { return Loc.Col; } in getCol()
/minix3/external/bsd/llvm/dist/clang/lib/Basic/
H A DSourceManager.cpp1580 unsigned Col) const { in translateFileLineCol()
1582 assert(Line && Col && "Line and column should start from 1!"); in translateFileLineCol()
1585 return translateLineCol(FirstFID, Line, Col); in translateFileLineCol()
1709 unsigned Col) const { in translateLineCol()
1727 if (Line == 1 && Col == 1) in translateLineCol()
1761 while (i < BufLength-1 && i < Col-1 && Buf[i] != '\n' && Buf[i] != '\r') in translateLineCol()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A DSourceMgr.h254 int Line, int Col, SourceMgr::DiagKind Kind,
/minix3/external/bsd/llvm/dist/llvm/docs/tutorial/
H A DLangImpl8.rst281 int Col;
291 LexLoc.Col = 0;
293 LexLoc.Col++;
311 int getCol() const { return Loc.Col; }
/minix3/external/bsd/llvm/dist/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp284 LoadedLoc.column = SDLoc.Col; in readLocation()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h456 void recordSourceLine(unsigned Line, unsigned Col, const MDNode *Scope,

12