llvm.org GIT mirror llvm / 23f6121
Remove dead test: this was already checked and handled a few lines above. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149841 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 8 years ago
1 changed file(s) with 0 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
674674
675675 std::string constName(getCppName(CV));
676676 std::string typeName(getCppName(CV->getType()));
677
678 if (isa(CV)) {
679 // Skip variables and functions, we emit them elsewhere
680 return;
681 }
682677
683678 if (const ConstantInt *CI = dyn_cast(CV)) {
684679 std::string constValue = CI->getValue().toString(10, true);