[cfe-commits] [PATCH] Foundation for Transform registration infrastructure

Manuel Klimek klimek at google.com
Wed Dec 19 23:42:30 PST 2012


  Sean's main point is my primary question: why do we need to load stuff dynamically?

  I would expect to have a Transform class at some point, and have main basically look like:
  if (Flag1)
    Transforms.push_back(new T1);
  ...
  and then do something with the vector of transforms we've built - that wouldn't need any plugin infrastructure.

  PS: regarding my rants - many people in llvm disagree with my positions here :) There's a lot of taste and personal preference to them, so if you agree with my reasoning, cool, but always feel free to argue if you don't agree :) I'm happy to learn new points of view

http://llvm-reviews.chandlerc.com/D221



More information about the cfe-commits mailing list