Use addFlag to add the enum class attribute.
authorEric Christopher <echristo@gmail.com>
Fri, 4 Oct 2013 22:40:10 +0000 (22:40 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 4 Oct 2013 22:40:10 +0000 (22:40 +0000)
commit371d95851a4e506dd0baba01c759f5dafcb3c128
treee05e7ff463643436b581acdf055f847b45fe8f23
parent9c0c9485808ba4280a62429700693c41fa304598
Use addFlag to add the enum class attribute.

This has the side effect of using DW_FORM_flag_present on dwarf4 and above.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191991 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
test/DebugInfo/X86/enum-class.ll