summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/FrontendActions.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-06-04 18:49:05 +0000
committerNico Weber <nicolasweber@gmx.de>2019-06-04 18:49:05 +0000
commit463854846853c3e4e099d31c51edec18e00730c0 (patch)
tree5bfc0117de6660f0c756741e5430a53b149b5942 /clang/lib/Frontend/FrontendActions.cpp
parentaed7227b71784fb1c1e8fc7a0a5ac65647cd463f (diff)
downloadbcm5719-llvm-463854846853c3e4e099d31c51edec18e00730c0.tar.gz
bcm5719-llvm-463854846853c3e4e099d31c51edec18e00730c0.zip
llvm-undname: More coverage-related cleanups
- The loop in demangleFunctionParameterList() only exits on Error, @, and Z. All 3 cases were handled, so the rest of the function is DEMANGLE_UNREACHABLE. - The loop in demangleTemplateParameterList() always returns on Error, so there's no need to check for that in the loop header and after the loop. - Add test cases for invalid function parameter manglings. - Add a (redundant) test case for a simple template parameter list mangling. - Add a test case pointing out that varargs functions aren't demangled correctly. llvm-svn: 362540
Diffstat (limited to 'clang/lib/Frontend/FrontendActions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud