clang-tools 20.0.0git
Classes | Namespaces | Functions
CollectMacros.h File Reference
#include "Protocol.h"
#include "SourceCode.h"
#include "index/SymbolID.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/DenseMap.h"
#include <cstddef>
#include <string>

Go to the source code of this file.

Classes

struct  clang::clangd::MacroOccurrence
 
struct  clang::clangd::MainFileMacros
 
class  clang::clangd::CollectMainFileMacros
 Collects macro references (e.g. More...
 
struct  clang::clangd::PragmaMark
 Represents a #pragma mark in the main file. More...
 

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.
 

Functions

std::unique_ptr< PPCallbacksclang::clangd::collectPragmaMarksCallback (const SourceManager &, std::vector< PragmaMark > &Out)
 Collect all pragma marks from the main file.