~pali/llvm/compiler-rt-trunk

Viewing all changes in revision 11204.

  • Committer: rsmith
  • Date: 2019-02-15 21:48:57 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:compiler-rt/trunk:354174
Fix invalid code that Clang trunk will soon diagnose.

There is an ambiguity between ::SizeClassMap (the typedef declared near
the start of this file) and __sanitizer::SizeClassMap (found by the
'using namespace __sanitizer;' near the start of this file).

Historically a Clang bug has meant that the error was not diagnosed, but
soon Clang will start diagnosing it. Explicitly qualify this use of
SizeClassMap so that it finds __sanitizer::SizeClassMap rather than
being ill-formed due to ambiguity.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: