llvm-project/clang
Bob Wilson 749ebc7f33 PGO: don't emit counter increment if no counters have been allocated.
I hit this while debugging another issue where my sources were in an
inconsistent state, so I don't have a testcase. Regardless, this check is
simpler and more direct than checking if the option is enabled.

llvm-svn: 203072
2014-03-06 04:55:28 +00:00
..
INPUTS
bindings [libclang/python] Use a Python standard library module to create a temporary file. 2014-02-20 07:24:03 +00:00
docs Mention clang-cl in MSVCCompatibility.rst 2014-03-05 20:18:59 +00:00
examples [CMake] Get rid of explicit dependencies to include/clang/*.inc and introduce CLANG_TABLEGEN_TARGETS. 2014-02-21 07:59:59 +00:00
include Tests for DR370-380. 2014-03-05 22:54:58 +00:00
lib PGO: don't emit counter increment if no counters have been allocated. 2014-03-06 04:55:28 +00:00
runtime [CMake] Teach build system to build/test compiler-rt with a just-built Clang 2014-02-27 09:09:39 +00:00
test Fix crash if a submodule overrides one of its own macros, and add support for 2014-03-06 03:16:27 +00:00
tools Fix -Wsign-compare warning. 2014-03-04 17:45:43 +00:00
unittests Attempt to re-enable the VFS unittests on Windows 2014-03-05 21:32:20 +00:00
utils [C++11] Using std::unique_ptr to ensure that Argument objects do not leak (since clang-tblgen isn't long-lived, the old leak is probably acceptable, but it offended my senses nonetheless). 2014-03-05 16:49:55 +00:00
www DR status page: add link targets for individual DRs, and link duplicates. 2014-03-05 23:02:47 +00:00
.arcconfig
.clang-format Switch the default mode for clang-format to '-file'. Make 'LLVM' the 2013-09-02 07:42:02 +00:00
.gitignore
CMakeLists.txt We now require Visual C++ 2012 (MSVC_VERSION = 1700) or later to build LLVM. 2014-03-04 09:12:17 +00:00
CODE_OWNERS.TXT Adding myself as the code owner for the attribute subsystem. 2014-01-13 22:23:27 +00:00
INSTALL.txt
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Define ENABLE_CLANG_EXAMPLES instead of relying on BUILD_EXAMPLES 2014-01-08 13:00:32 +00:00
ModuleInfo.txt
NOTES.txt
README.txt

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/