<div dir="ltr">Hi,<div><br></div><div>I'm new here and have a question about the rule in title. Is the following use case also prohibited?</div><div><br></div><div>int findNameId(StringRef Name)</div><div>{</div><div>   static StringMap<int> Map = createSomeIDMap();</div><div>   return Map.lookup(Name);</div><div>};</div><div><br></div><div>It seems it isn't influence startup time and doesn't create initialization order problems. Clang isn't complaining about it with -Wglobal-constructor flag.</div><div><br></div><div>I'm asking because under some interpretation of rule wording it can be called static constructor too.</div><div><br></div><div>Thanks,</div><div>Valery</div></div>