EricWF marked an inline comment as done. ================ Comment at: lib/Sema/SemaDecl.cpp:10528 @@ +10527,3 @@ + var->getLocation())) { + // Warn about globals which don't have a constant initializer. Don't + // warn about globals with a non-trivial destructor because we already ---------------- EricWF wrote: > I can't figure out where the diagnostic is this comment is coming from. > Hopefully I'm just missing something simple. Nevermind, I kept reading "global destructor" as "global constructor" and was looking for the wrong thing.
https://reviews.llvm.org/D23385 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits