commit | c134fcb0d7989fe6937e47e6216637647e074aef | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Wed Jun 04 19:41:28 2008 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Wed Jun 04 19:41:28 2008 +0000 |
tree | 22366d131801a7ed45f48d224e0d2c349bfef550 | |
parent | 108f55d6fd9a1c0e753eb8e046cb1f1b81d77a76 [diff] |
For setting attributes, don't assume there are ParamVarDecls available, because trying to access non-existent ParamVarDecls can crash. Testcase from the original source for PR2414. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51960 91177308-0d34-0410-b5e6-96231b3b80d8