15#include "llvm/Support/ManagedStatic.h"
23const std::list<std::unique_ptr<ParsedAttrInfo>> &
25 static llvm::ManagedStatic<std::list<std::unique_ptr<ParsedAttrInfo>>>
27 if (PluginAttrInstances->empty())
28 for (
const auto &It : ParsedAttrInfoRegistry::entries())
29 PluginAttrInstances->emplace_back(It.instantiate());
31 return *PluginAttrInstances;
The JSON file list parser is used to communicate input to InstallAPI.
const std::list< std::unique_ptr< ParsedAttrInfo > > & getAttributePluginInstances()
llvm::Registry< ParsedAttrInfo > ParsedAttrInfoRegistry