aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/conditional-gnu-ext.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-04-16[opaque pointer types] Explicit non-pointer type for call expressionsDavid Blaikie1-1/+1
(migration for recent LLVM change to textual IR for calls) llvm-svn: 235147
2015-02-27Update Clang tests to handle explicitly typed load changes in LLVM.David Blaikie1-2/+2
llvm-svn: 230795
2014-07-18Mark C++ reference parameters as dereferenceableHal Finkel1-2/+2
Because references must be initialized using some evaluated expression, they must point to something, and a callee can assume the reference parameter is dereferenceable. Taking advantage of a new attribute just added to LLVM, mark them as such. Because dereferenceability in addrspace(0) implies nonnull in the backend, we don't need both attributes. However, we need to know the size of the object to use the dereferenceable attribute, so for incomplete types we still emit only nonnull. llvm-svn: 213386
2014-05-28Add 'nonnull' parameter or return attribute when producing an llvm pointer ↵Nick Lewycky1-2/+2
type in a function type where the C++ type is a reference. Update the tests. llvm-svn: 209723
2013-08-15CHECK-LABEL-ify some code gen tests to improve diagnostic experience when ↵Stephen Lin1-4/+4
tests fail. llvm-svn: 188447
2012-01-25Fix a crash for an edge case of the GNU ?: extension.Eli Friedman1-0/+8
llvm-svn: 148923
2011-02-21Bind references to opaque r-values correctly. Add a few test casesJohn McCall1-0/+80
for ?: on record types. llvm-svn: 126113
2011-02-21Rename test/CodeGenCXX/gnu-conditional-scalar-ext.cpp to conditional-gnu-ext.cppJohn McCall1-0/+62
for consistency with other tests (and to remove "scalar" from the name). llvm-svn: 126104