History log of /llvm-project/clang/test/SemaCXX/for-range-examples.cpp (Results 26 – 35 of 35)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1, llvmorg-3.4.1, llvmorg-3.4.1-rc2, llvmorg-3.4.1-rc1, llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1
# 08254691 11-Oct-2013 Richard Trieu <rtrieu@google.com>

Improve the error message for attempting to build a for range loop using a
function parameter that has array type. Such a parameter will be treated as
a pointer type instead, resulting in a missing

Improve the error message for attempting to build a for range loop using a
function parameter that has array type. Such a parameter will be treated as
a pointer type instead, resulting in a missing begin function error is a
suggestion to dereference the pointer. This provides a different,
more informative diagnostic as well as point to the parameter declaration.

llvm-svn: 192512

show more ...


# 3249fed9 21-Aug-2013 Richard Smith <richard-llvm@metafoo.co.uk>

If we find an error in the range expression in a range-based for loop, and the
loop variable has a type containing 'auto', set the declaration to be invalid
(because we couldn't deduce its type) to p

If we find an error in the range expression in a range-based for loop, and the
loop variable has a type containing 'auto', set the declaration to be invalid
(because we couldn't deduce its type) to prevent follow-on errors.

llvm-svn: 188853

show more ...


# 39a1e507 06-Aug-2013 Larisse Voufo <lvoufo@google.com>

Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Stati

Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention...

llvm-svn: 187762

show more ...


Revision tags: llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1, llvmorg-3.2.0, llvmorg-3.2.0-rc3, llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1
# eed5e32d 19-Sep-2012 Fariborz Jahanian <fjahanian@apple.com>

Fix test better way.

llvm-svn: 164234


# b1885425 18-Sep-2012 Fariborz Jahanian <fjahanian@apple.com>

c: warn when an integer value comparison with an
integral expression have the obvious result.
Patch reviewed by John McCall off line.
// rdar://12202422

llvm-svn: 164143


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# 9a2b7e82 21-Feb-2012 Richard Smith <richard-llvm@metafoo.co.uk>

Don't assume that a valid expression for the first part of a for-statement
is non-null when diagnosing a broken attempt to write a for-range-statement.

llvm-svn: 151081


# 87d32809 31-Jan-2012 Eli Friedman <eli.friedman@gmail.com>

A couple minor fixes to template instantiation for for-range loops.

llvm-svn: 149440


# cf6e0c83 27-Jan-2012 John McCall <rjmccall@apple.com>

Be sure to emit delayed diagnostics after parsing the declaration
of a for-range variable. Fixes PR11793.

llvm-svn: 149109


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1
# 9ca5c425 13-Oct-2011 Richard Smith <richard-llvm@metafoo.co.uk>

Update all tests other than Driver/std.cpp to use -std=c++11 rather than
-std=c++0x. Patch by Ahmed Charles!

llvm-svn: 141900


# 02e85f3b 14-Apr-2011 Richard Smith <richard-llvm@metafoo.co.uk>

Add support for C++0x's range-based for loops, as specified by the C++11 draft standard (N3291).

llvm-svn: 129541


12