| /minix3/external/bsd/llvm/dist/clang/test/SemaCXX/ |
| H A D | constexpr-nqueens.cpp | 13 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 D | CommentHandlerTest.cpp | 16 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 D | SourceCoverageView.cpp | 34 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 D | DebugLoc.cpp | 50 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 D | DIBuilder.cpp | 1108 unsigned Line, unsigned Col) { in createLexicalBlock() argument 1120 .concat(Col) in createLexicalBlock()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/ |
| H A D | SerializedDiagnosticReader.h | 49 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 D | ASTUnit.h | 605 unsigned Line, unsigned Col) const;
|
| /minix3/external/bsd/llvm/dist/llvm/lib/ProfileData/ |
| H A D | CoverageMapping.cpp | 262 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 D | p10.cpp | 39 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 D | IRBindings.cpp | 95 unsigned Col, LLVMMetadataRef Scope, in LLVMSetCurrentDebugLocation2() argument 98 DebugLoc::get(Line, Col, Scope ? unwrap<MDNode>(Scope) : nullptr, in LLVMSetCurrentDebugLocation2()
|
| H A D | IRBindings.h | 55 unsigned Col, LLVMMetadataRef Scope,
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/ProfileData/ |
| H A D | CoverageMapping.h | 304 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 D | SourceLocation.h | 357 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 D | SourceManager.h | 1412 unsigned Line, unsigned Col) const; 1423 unsigned Line, unsigned Col) const;
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | DebugLoc.h | 51 static DebugLoc get(unsigned Line, unsigned Col, MDNode *Scope,
|
| H A D | DIBuilder.h | 641 unsigned Line, unsigned Col);
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | SerializedDiagnosticPrinter.cpp | 850 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 D | CommentHTMLTags.td | 50 def Col : Tag<"col"> { let EndTagForbidden = 1; }
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 235 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 D | toy.cpp | 108 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 D | SourceManager.cpp | 1580 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 D | SourceMgr.h | 254 int Line, int Col, SourceMgr::DiagKind Kind,
|
| /minix3/external/bsd/llvm/dist/llvm/docs/tutorial/ |
| H A D | LangImpl8.rst | 281 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 D | CXLoadedDiagnostic.cpp | 284 LoadedLoc.column = SDLoc.Col; in readLocation()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | DwarfDebug.h | 456 void recordSourceLine(unsigned Line, unsigned Col, const MDNode *Scope,
|