Searched defs:Col (Results 1 - 8 of 8) sorted by relevance

/external/clang/test/SemaCXX/
H A Dconstexpr-nqueens.cpp13 constexpr Board addQueen(int Row, int Col) { argument
14 return Board(State | ((uint64_t)Row << (Col * 4)));
16 constexpr int getQueenRow(int Col) { argument
17 return (State >> (Col * 4)) & 0xf;
19 constexpr bool ok(int Row, int Col) { argument
20 return okRecurse(Row, Col, 0);
22 constexpr bool okRecurse(int Row, int Col, int CheckCol) { argument
23 return Col == CheckCol ? true :
25 getQueenRow(CheckCol) == Row + (Col - CheckCol) ? false :
26 getQueenRow(CheckCol) == Row + (CheckCol - Col)
29 at(int Row, int Col) argument
37 tryBoard(const Board &Try, int N, int Col, int Row, const Board &B) argument
41 buildBoardScan(int N, int Col, int Row, const Board &B) argument
48 buildBoardRecurse(int N, int Col, const Board &B) argument
57 check(const char *p, int Row, int Col) argument
[all...]
/external/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp16 Comment(const std::string &Message, unsigned Line, unsigned Col) argument
17 : Message(Message), Line(Line), Col(Col) { }
20 unsigned Line, Col; member in struct:clang::Comment
104 << Current->Col;
108 void Match(const char *Message, unsigned Line, unsigned Col) { argument
113 EXPECT_TRUE(C.Message == Message && C.Line == Line && C.Col == Col)
115 << "\" at line " << Line << ", column " << Col
117 << "\" at line " << C.Line << ", column " << C.Col;
[all...]
/external/llvm/lib/VMCore/
H A DDebugLoc.cpp74 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, argument
82 if (Col > 255) Col = 0;
84 Result.LineCol = Line | (Col << 24);
H A DDIBuilder.cpp947 unsigned Line, unsigned Col) {
954 ConstantInt::get(Type::getInt32Ty(VMContext), Col),
946 createLexicalBlock(DIDescriptor Scope, DIFile File, unsigned Line, unsigned Col) argument
/external/llvm/lib/Support/
H A DSourceMgr.cpp235 int Line, int Col, SourceMgr::DiagKind Kind,
239 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind),
234 SMDiagnostic(const SourceMgr &sm, SMLoc L, const std::string &FN, int Line, int Col, SourceMgr::DiagKind Kind, const std::string &Msg, const std::string &LineStr, ArrayRef<std::pair<unsigned,unsigned> > Ranges) argument
/external/clang/include/clang/Basic/
H A DSourceLocation.h362 unsigned Line, Col; member in class:clang::PresumedLoc
367 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) {
390 unsigned getColumn() const { return Col; }
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1987 unsigned Line = Record[0], Col = Record[1]; local
1993 LastLoc = DebugLoc::get(Line, Col, Scope, IA);
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp1506 void DwarfDebug::recordSourceLine(unsigned Line, unsigned Col, const MDNode *S, argument
1539 Asm->OutStreamer.EmitDwarfLocDirective(Src, Line, Col, Flags, 0, 0, Fn);

Completed in 645 milliseconds