clang-tools
11.0.0
|
These fields are not part of the user-specified configuration, but instead are populated by the parser to describe the configuration source. More...
#include <ConfigFragment.h>
Public Attributes | |
std::shared_ptr< llvm::SourceMgr > | Manager |
Retains a buffer of the original source this fragment was parsed from. More... | |
llvm::SMLoc | Location |
The start of the original source for this fragment. More... | |
These fields are not part of the user-specified configuration, but instead are populated by the parser to describe the configuration source.
Definition at line 85 of file ConfigFragment.h.
llvm::SMLoc clang::clangd::config::Fragment::SourceInfo::Location |
The start of the original source for this fragment.
Only valid if SourceManager is set.
Definition at line 93 of file ConfigFragment.h.
std::shared_ptr<llvm::SourceMgr> clang::clangd::config::Fragment::SourceInfo::Manager |
Retains a buffer of the original source this fragment was parsed from.
Locations within Located<T> objects point into this SourceMgr. Shared because multiple fragments are often parsed from one (YAML) file. May be null, then all locations should be ignored.
Definition at line 90 of file ConfigFragment.h.