OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MainFileID
(Results
1 - 8
of
8
) sorted by null
/external/clang/unittests/Basic/
SourceManagerTest.cpp
77
FileID
mainFileID
= SourceMgr.createFileID(std::move(Buf));
78
SourceMgr.setMainFileID(
mainFileID
);
109
SourceLocation macroExpStartLoc = SourceMgr.translateLineCol(
mainFileID
, 2, 1);
110
SourceLocation macroExpEndLoc = SourceMgr.translateLineCol(
mainFileID
, 2, 6);
130
FileID
MainFileID
= SourceMgr.createFileID(std::move(Buf));
131
SourceMgr.setMainFileID(
MainFileID
);
136
EXPECT_EQ(1U, SourceMgr.getColumnNumber(
MainFileID
, 0, &Invalid));
140
EXPECT_EQ(5U, SourceMgr.getColumnNumber(
MainFileID
, 4, &Invalid));
144
EXPECT_EQ(1U, SourceMgr.getColumnNumber(
MainFileID
, 7, &Invalid));
148
EXPECT_EQ(5U, SourceMgr.getColumnNumber(
MainFileID
, 11, &Invalid))
[
all
...]
/external/llvm/lib/ProfileData/
CoverageMapping.cpp
413
auto
MainFileID
= findMainViewFileID(Filename, Function);
414
if (!
MainFileID
)
420
if (isExpansion(CR, *
MainFileID
))
436
auto
MainFileID
= findMainViewFileID(Filename, Function);
437
if (!
MainFileID
)
439
InstantiationSetCollector.insert(Function, *
MainFileID
);
454
auto
MainFileID
= findMainViewFileID(Function);
455
if (!
MainFileID
)
458
CoverageData FunctionCoverage(Function.Filenames[*
MainFileID
]);
461
if (CR.FileID == *
MainFileID
) {
[
all
...]
/external/clang/lib/Lex/
Preprocessor.cpp
498
FileID
MainFileID
= SourceMgr.getMainFileID();
500
// If
MainFileID
is loaded it means we loaded an AST file, no need to enter
502
if (!SourceMgr.isLoadedFileID(
MainFileID
)) {
504
EnterSourceFile(
MainFileID
, nullptr, SourceLocation());
514
if (const FileEntry *FE = SourceMgr.getFileEntryForID(
MainFileID
))
[
all
...]
/external/clang/include/clang/Basic/
SourceManager.h
658
FileID
MainFileID
;
751
//
MainFileID
creation and querying methods.
755
FileID getMainFileID() const { return
MainFileID
; }
759
MainFileID
= FID;
[
all
...]
/external/clang/lib/Basic/
SourceManager.cpp
395
MainFileID
= FileID();
[
all
...]
/external/clang/lib/Frontend/
ASTUnit.cpp
[
all
...]
/external/clang/lib/Frontend/Rewrite/
RewriteObjC.cpp
70
FileID
MainFileID
;
632
MainFileID
= SM->getMainFileID();
633
const llvm::MemoryBuffer *MainBuf = SM->getBuffer(
MainFileID
);
731
SourceLocation LocStart = SM->getLocForStartOfFile(
MainFileID
);
732
StringRef MainBuf = SM->getBufferData(
MainFileID
);
[
all
...]
RewriteModernObjC.cpp
70
FileID
MainFileID
;
706
MainFileID
= SM->getMainFileID();
707
const llvm::MemoryBuffer *MainBuf = SM->getBuffer(
MainFileID
);
[
all
...]
Completed in 1129 milliseconds