clang  11.0.0git
Functions
DependencyScanningFilesystem.cpp File Reference
#include "clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h"
#include "clang/Lex/DependencyDirectivesSourceMinimizer.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Threading.h"
Include dependency graph for DependencyScanningFilesystem.cpp:

Go to the source code of this file.

Functions

static bool shouldMinimize (StringRef Filename)
 Whitelist file extensions that should be minimized, treating no extension as a source file that should be minimized. More...
 
static bool shouldCacheStatFailures (StringRef Filename)
 

Function Documentation

◆ shouldCacheStatFailures()

static bool shouldCacheStatFailures ( StringRef  Filename)
static

◆ shouldMinimize()

static bool shouldMinimize ( StringRef  Filename)
static

Whitelist file extensions that should be minimized, treating no extension as a source file that should be minimized.

This is kinda hacky, it would be better if we knew what kind of file Clang was expecting instead.

Definition at line 131 of file DependencyScanningFilesystem.cpp.

Referenced by shouldCacheStatFailures().