diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2016-04-24 13:30:21 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2016-04-24 13:30:21 +0000 |
commit | 1de59c5d92b96eda920394bfa0799cd2800201fa (patch) | |
tree | 73a67486de714ca9e58ccecb903262e9fbda6ac3 /llvm/test/CodeGen | |
parent | c79c2be7d2ab7e562c0cac2578270a9f28057e4d (diff) | |
download | bcm5719-llvm-1de59c5d92b96eda920394bfa0799cd2800201fa.tar.gz bcm5719-llvm-1de59c5d92b96eda920394bfa0799cd2800201fa.zip |
Improve diagnostic checking for va_start to also warn on other instances of undefined behavior, such as a parameter declared with the register keyword in C, or a parameter of a type that undergoes default argument promotion.
This helps cover some more of the CERT secure coding rule EXP58-CPP. Pass an object of the correct type to va_start (https://www.securecoding.cert.org/confluence/display/cplusplus/EXP58-CPP.+Pass+an+object+of+the+correct+type+to+va_start).
llvm-svn: 267338
Diffstat (limited to 'llvm/test/CodeGen')
0 files changed, 0 insertions, 0 deletions