[PATCH] D37924: Add section headers to SpecialCaseLists
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 16:48:49 PDT 2017
eugenis added inline comments.
================
Comment at: lib/Support/SpecialCaseList.cpp:188
assert(!IsCompiled && "compile() should only be called once");
- // Iterate through each of the prefixes, and create Regexs for them.
- for (StringMap<StringMap<std::string>>::const_iterator I = Regexps.begin(),
- E = Regexps.end();
- I != E; ++I) {
- for (StringMap<std::string>::const_iterator II = I->second.begin(),
- IE = I->second.end();
- II != IE; ++II) {
- Entries[I->getKey()][II->getKey()].RegEx.reset(new Regex(II->getValue()));
- }
+ // Iterate through every section compiling regular expressionf for every query
+ // and creating Section entries.
----------------
typo: expressionf
https://reviews.llvm.org/D37924
More information about the llvm-commits
mailing list