hanchenye-llvm-project/clang
Douglas Gregor 5407920f82 During name lookup, use redecl_iterator to walk over the redeclaration
chain to determine whether any declaration of the given entity is
visible, eliminating the redundant (and less efficient)
getPreviousDeclaration() implementation.

This tweak uncovered an omission in the handling of
RedeclarableTemplateDecl, where we weren't making sure to search for
additional redeclarations of a template in other module files. Things
would be cleaner if RedeclarableTemplateDecl actually used Redeclarable.

llvm-svn: 147687
2012-01-06 22:05:37 +00:00
..
INPUTS Enhance the CFG construction to detect no-return destructors for 2011-09-13 06:09:01 +00:00
bindings/python Add CXX_FINAL_ATTR, CXX_OVERRIDE_ATTR, ANNOTATE_ATTR and ASM_LABEL_ATTR to the 2011-12-30 15:27:22 +00:00
docs [asan] mention -fno-omit-frame-pointer in the docs 2012-01-06 17:35:27 +00:00
examples remove unneeded config.h includes 2011-12-22 22:49:47 +00:00
include Stash Decl's TopLevelDeclInObjCContainer and ModulePrivate bits 2012-01-06 16:59:53 +00:00
lib During name lookup, use redecl_iterator to walk over the redeclaration 2012-01-06 22:05:37 +00:00
runtime runtime/Linux: Include the profile and ASAN libs on x86. 2011-12-07 19:35:10 +00:00
test Revert r147655; it's breaking the compiler_rt build on OSX. 2012-01-06 20:03:09 +00:00
tools [analyzer] Correct the c++-analyzer symlink 2012-01-06 17:11:23 +00:00
unittests clang/unittests/Basic/SourceManagerTest.cpp: Fixup corresponding to r147387. 2011-12-31 04:25:56 +00:00
utils [analyzer] Correct the error message in the testing infrastructure. 2012-01-04 23:53:50 +00:00
www [analyzer] Update the docs to reflect that gcc is not the only default 2012-01-06 01:54:08 +00:00
.gitignore Revert "Test commit" 2011-10-24 10:03:25 +00:00
CMakeLists.txt Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
INSTALL.txt
LICENSE.TXT Happy new year 2012! 2012-01-01 08:16:56 +00:00
Makefile Add the Clang tblgen backends to Clang, and flip the switch to cause 2011-10-06 13:03:08 +00:00
ModuleInfo.txt
NOTES.txt Make a note about a missing optimization. 2011-07-28 07:41:22 +00:00
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/