#include "clang/Basic/FileManager.h"
#include "clang/Basic/FileSystemStatCache.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <climits>
#include <cstdint>
#include <cstdlib>
#include <optional>
#include <string>
#include <utility>
Go to the source code of this file.
◆ DEBUG_TYPE
#define DEBUG_TYPE "file-search" |
◆ ALWAYS_ENABLED_STATISTIC() [1/4]
ALWAYS_ENABLED_STATISTIC |
( |
NumDirCacheMisses |
, |
|
|
"Number of directory cache misses." |
|
|
) |
| |
◆ ALWAYS_ENABLED_STATISTIC() [2/4]
ALWAYS_ENABLED_STATISTIC |
( |
NumDirLookups |
, |
|
|
"Number of directory lookups." |
|
|
) |
| |
◆ ALWAYS_ENABLED_STATISTIC() [3/4]
ALWAYS_ENABLED_STATISTIC |
( |
NumFileCacheMisses |
, |
|
|
"Number of file cache misses." |
|
|
) |
| |
◆ ALWAYS_ENABLED_STATISTIC() [4/4]
ALWAYS_ENABLED_STATISTIC |
( |
NumFileLookups |
, |
|
|
"Number of file lookups." |
|
|
) |
| |
◆ getDirectoryFromFile()