#include "FileExtensionsUtils.h"
#include "clang/Basic/CharInfo.h"
#include "llvm/Support/Path.h"
#include <optional>
Go to the source code of this file.
|
bool | clang::tidy::utils::isExpansionLocInHeaderFile (SourceLocation Loc, const SourceManager &SM, const FileExtensionsSet &HeaderFileExtensions) |
| Checks whether expansion location of Loc is in header file.
|
|
bool | clang::tidy::utils::isPresumedLocInHeaderFile (SourceLocation Loc, SourceManager &SM, const FileExtensionsSet &HeaderFileExtensions) |
| Checks whether presumed location of Loc is in header file.
|
|
bool | clang::tidy::utils::isSpellingLocInHeaderFile (SourceLocation Loc, SourceManager &SM, const FileExtensionsSet &HeaderFileExtensions) |
| Checks whether spelling location of Loc is in header file.
|
|
bool | clang::tidy::utils::parseFileExtensions (StringRef AllFileExtensions, FileExtensionsSet &FileExtensions, StringRef Delimiters) |
| Parses header file extensions from a semicolon-separated list.
|
|
std::optional< StringRef > | clang::tidy::utils::getFileExtension (StringRef FileName, const FileExtensionsSet &FileExtensions) |
| Decides whether a file has a header file extension.
|
|
bool | clang::tidy::utils::isFileExtension (StringRef FileName, const FileExtensionsSet &FileExtensions) |
| Decides whether a file has one of the specified file extensions.
|
|