Here.cc File Reference
Include dependency graph for Here.cc:
Go to the source code of this file.
Functions | |
static size_t | BuildPrefixLength () |
static const char * | SkipBuildPrefix (const char *path) |
static SourceLocationId | FileNameHash (const char *path) |
quickly computes a (weak) hash of a file name More... | |
Function Documentation
◆ BuildPrefixLength()
|
static |
- Returns
- the build prefix length or, if estimation is not possible, zero
Definition at line 21 of file Here.cc.
Referenced by SkipBuildPrefix().
◆ FileNameHash()
|
static |
◆ SkipBuildPrefix()
|
static |
- Returns
- filename portion without the build prefix
Definition at line 36 of file Here.cc.
References BuildPrefixLength().
Referenced by SourceLocation::print().