CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Attributes
clangcms::EDMPluginDumper Class Reference

#include <EDMPluginDumper.h>

Inheritance diagram for clangcms::EDMPluginDumper:

Public Member Functions

void checkASTDecl (const clang::ClassTemplateDecl *TD, clang::ento::AnalysisManager &mgr, clang::ento::BugReporter &BR) const
 

Private Attributes

CmsException m_exception
 

Detailed Description

Definition at line 21 of file EDMPluginDumper.h.

Member Function Documentation

◆ checkASTDecl()

void clangcms::EDMPluginDumper::checkASTDecl ( const clang::ClassTemplateDecl *  TD,
clang::ento::AnalysisManager &  mgr,
clang::ento::BugReporter &  BR 
) const

Definition at line 14 of file EDMPluginDumper.cc.

16  {
17  std::string tname = TD->getTemplatedDecl()->getQualifiedNameAsString();
18  if (tname == "edm::WorkerMaker") {
19  for (auto I = TD->spec_begin(), E = TD->spec_end(); I != E; ++I) {
20  for (unsigned J = 0, F = I->getTemplateArgs().size(); J != F; ++J) {
21  llvm::SmallString<100> buf;
22  llvm::raw_svector_ostream os(buf);
23  I->getTemplateArgs().get(J).print(mgr.getASTContext().getPrintingPolicy(), os);
24  std::string rname = os.str().str();
25  std::string fname("plugins.txt.unsorted");
26  std::string ostring = rname + "\n";
27  support::writeLog(ostring, fname);
28  }
29  }
30  }
31 
32  } //end class

References visDQMUpload::buf, F(), alignmentValidation::fname, Exhume::I, rname, AlCaHLTBitMon_QueryRunRegistry::string, tname(), and clangcms::support::writeLog().

Member Data Documentation

◆ m_exception

CmsException clangcms::EDMPluginDumper::m_exception
private

Definition at line 28 of file EDMPluginDumper.h.

F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
Exhume::I
const std::complex< double > I
Definition: I.h:8
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
rname
const G4String rname[NREG]
Definition: ParametrisedEMPhysics.cc:48
tname
std::string tname(const std::string &tableName, const std::string &schemaVersion)
Definition: CredentialStore.cc:150
clangcms::support::writeLog
void writeLog(const std::string &ostring, const std::string &tfstring)
visDQMUpload.buf
buf
Definition: visDQMUpload.py:154
alignmentValidation.fname
string fname
main script
Definition: alignmentValidation.py:959