llvm-project/clang/docs
Jeffrey Yasskin 08a4f8f197 Add an attribute to forbid temporary instances of a type. This allows class
authors to write 

  class __attribute__((forbid_temporaries)) Name { ... };

when they want to force users to name all variables of the type. This protects
people from doing things like creating a scoped_lock that only lives for a
single statement instead of an entire scope.

The warning produced by this attribute can be disabled by
-Wno-forbid-temporaries.

llvm-svn: 124217
2011-01-25 20:08:12 +00:00
..
tools Reorganize predefined macros for all Windows targets. 2010-10-21 05:21:48 +00:00
AnalyzerRegions.html Reverted r103214. 2010-05-07 00:42:33 +00:00
Block-ABI-Apple.txt expand discussion of __block C++ on-stack objects 2010-10-28 23:30:10 +00:00
BlockLanguageSpec.txt Reverted r103214. 2010-05-07 00:42:33 +00:00
DriverArchitecture.png Reverted r103214. 2010-05-07 00:42:33 +00:00
DriverInternals.html Reverted r103214. 2010-05-07 00:42:33 +00:00
InternalsManual.html move AdvanceToTokenCharacter and getLocForEndOfToken from 2010-11-17 07:05:50 +00:00
LanguageExtensions.html Add an attribute to forbid temporary instances of a type. This allows class 2011-01-25 20:08:12 +00:00
Makefile And more gzip goodness for clang. 2010-12-10 01:59:28 +00:00
PCHInternals.html Update 'docs/PCHInternals.html' about how subexpressions are stored. 2010-09-13 17:48:02 +00:00
PCHLayout.graffle Reverted r103214. 2010-05-07 00:42:33 +00:00
PCHLayout.png Reverted r103214. 2010-05-07 00:42:33 +00:00
PTHInternals.html Reverted r103214. 2010-05-07 00:42:33 +00:00
UsersManual.html fix some typos, patch by Jonathan Wakely! 2011-01-24 03:47:59 +00:00
doxygen.cfg Reverted r103214. 2010-05-07 00:42:33 +00:00
doxygen.cfg.in Reverted r103214. 2010-05-07 00:42:33 +00:00
doxygen.css Reverted r103214. 2010-05-07 00:42:33 +00:00
doxygen.footer Reverted r103214. 2010-05-07 00:42:33 +00:00
doxygen.header Reverted r103214. 2010-05-07 00:42:33 +00:00
doxygen.intro Reverted r103214. 2010-05-07 00:42:33 +00:00
index.html Reverted r103214. 2010-05-07 00:42:33 +00:00
libIndex.html Reverted r103214. 2010-05-07 00:42:33 +00:00