19#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_CANONICALINCLUDES_H
20#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_INDEX_CANONICALINCLUDES_H
22#include "clang/Basic/FileEntry.h"
23#include "clang/Basic/LangOptions.h"
24#include "llvm/ADT/StringMap.h"
25#include "llvm/ADT/StringRef.h"
38 llvm::StringRef
mapHeader(llvm::StringRef HeaderPath)
const;
53 const llvm::StringMap<llvm::StringRef> *StdSuffixHeaderMapping =
nullptr;
Maps a definition location onto an #include file, based on a set of filename rules.
void addSystemHeadersMapping(const LangOptions &Language)
Adds mapping for system headers and some special symbols (e.g.
llvm::StringRef mapHeader(llvm::StringRef HeaderPath) const
Returns the overridden verbatim spelling for files in Header that can be directly included (i....
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//