]> granicus.if.org Git - clang/commit
Fix a potential APInt memory leak when using __attribute__((flag_enum)), and
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 4 Sep 2015 01:03:03 +0000 (01:03 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 4 Sep 2015 01:03:03 +0000 (01:03 +0000)
commitf2f9b412ba980d0a775d87be5d52eaf003c750ca
tree4193d63168f31c130dc30cb604918116cda1477a
parentf5f73cb4fc32112b05a21d7b9134d67e965ee385
Fix a potential APInt memory leak when using __attribute__((flag_enum)), and
simplify the implementation a bit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246830 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
include/clang/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaStmt.cpp