clang-tools 17.0.0git
Classes | Namespaces | Functions
CanonicalIncludes.h File Reference
#include "clang/Basic/FileEntry.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/FileSystem/UniqueID.h"
#include <mutex>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  clang::clangd::CanonicalIncludes
 Maps a definition location onto an #include file, based on a set of filename rules. More...
 

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 

Functions

std::unique_ptr< CommentHandlerclang::clangd::collectIWYUHeaderMaps (CanonicalIncludes *Includes)
 Returns a CommentHandler that parses pragma comment on include files to determine when we should include a different header from the header that directly defines a symbol.