| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Prevent nullptr_t-typed exprs from being replaced | Edwin Vane | 2013-03-15 | 1 | -7/+19 |
| | | | | | | | | | | | The Use-Nullptr transform was replacing nullptr_t-typed expressions because in the AST such expressions have an implicit NullToPointer cast around them. Now the transform ignores these expressions. Fixes PR15414. llvm-svn: 177168 | ||||
| * | Test case for PR-15414 - nullptr_t functions | Stefanus Du Toit | 2013-03-06 | 1 | -0/+17 |
| The use-null-ptr transform will transform calls to functions that return a nullptr_t. Even if the function were to only return a null pointer and do nothing else, this replacement would still be undesired as the behavior and signature of the function could change in the future. This adds an XFAILed test case to demonstrate the issue. Reviewed by: Edwin Vane, Tareq Siraj llvm-svn: 176553 | |||||

