Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
C++ Objective-C C Other
branch: master

Don't try to do RVO on block variables that refer to an enclosing local.

Fixes PR13314, clang crashing on blocks refering to an enclosing local
when the enclosing function returns void.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160089 91177308-0d34-0410-b5e6-96231b3b80d8
latest commit 8951067a2b
@nico nico authored
Failed to load latest commit information.
INPUTS all-std-headers.cpp: Include the C++11 headers when building with clang
bindings/python
docs Mention -fms-compatibility and -fdelayed-template-parsing in UsersMan…
examples Remove a goofy CMake hack and use the standard CMake facilities to
include Stop instantiating a class if we hit a static_assert failure. Also, i…
lib Don't try to do RVO on block variables that refer to an enclosing local.
runtime build/compiler-rt: Companion commit to r159172.
test
tools Enable comment parsing and semantic analysis to emit diagnostics. A few
unittests Enable comment parsing and semantic analysis to emit diagnostics. A few
utils Re-apply r159875 with fixes.
www Update documentation with regards to template type diffing.
.gitignore Revert "Test commit"
CMakeLists.txt [CMake] Get rid of unconditional dependency to ClangDiagnosticCommon.…
INSTALL.txt Add minimal INSTALL.txt
LICENSE.TXT Happy new year 2012!
Makefile Add the Clang tblgen backends to Clang, and flip the switch to cause
ModuleInfo.txt Move the ModuleInfo.txt file.
NOTES.txt Add a note about a missing optimization in the case of virtual
README.txt commit access verified, revert change

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:              http://clang.llvm.org/
Building and using Clang:          http://clang.llvm.org/get_started.html
Clang Static Analyzer:             http://clang-analyzer.llvm.org/
Information on the LLVM project:   http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/
Something went wrong with that request. Please try again.