Skip to content
Commit 3145eb8e authored by Daniel Dunbar's avatar Daniel Dunbar
Browse files

[ADT] Fix StringSet::insert() to not allocate on every lookup.

 - The previous implementation always constructed the StringMap entry, even if
   the key was present in the set.

llvm-svn: 177178
parent 34794c5b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment