]> granicus.if.org Git - clang/commit
Squelch leak found by LSan by handling missing switch case.
authorJordan Rose <jordan_rose@apple.com>
Thu, 24 Apr 2014 17:27:18 +0000 (17:27 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 24 Apr 2014 17:27:18 +0000 (17:27 +0000)
commit5a48fb5809163f65ea20ddae64b08203dc94f05e
tree1a078a41cf06ecd98c7b02a4ec990fa6cdcb62e7
parent4ec7faa64f2613b0e71148036b5b48fbd11b11a7
Squelch leak found by LSan by handling missing switch case.

Also, use the enum type in the switch so this doesn't happen again.

PR19523

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207128 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/DelayedDiagnostic.cpp