aaron.ballman added inline comments.

================
Comment at: lib/ASTMatchers/Dynamic/Registry.cpp:606
+  // be used with particular arguments.
+  static std::vector<StringRef> ExcludedMatchers{
+      "allOf",
----------------
sbenza wrote:
> I don't think we are allowed to have non-trivial static storage duration 
> objects like this.
> You have to use llvm::ManagedStatic. Or just make it a raw array.
IIRC, that's only needed for global statics, not local statics. Local statics 
are less terrifying than their global brethren. 


Repository:
  rC Clang

https://reviews.llvm.org/D54404



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to