[llvm-commits] [llvm] r119398 - /llvm/trunk/docs/CodingStandards.html

Chris Lattner sabre at nondot.org
Tue Nov 16 14:19:06 PST 2010


Author: lattner
Date: Tue Nov 16 16:19:06 2010
New Revision: 119398

URL: http://llvm.org/viewvc/llvm-project?rev=119398&view=rev
Log:
update coding standards.  Partial specialization is now ok,
though possibly not a good idea.

Modified:
    llvm/trunk/docs/CodingStandards.html

Modified: llvm/trunk/docs/CodingStandards.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.html?rev=119398&r1=119397&r2=119398&view=diff
==============================================================================
--- llvm/trunk/docs/CodingStandards.html (original)
+++ llvm/trunk/docs/CodingStandards.html Tue Nov 16 16:19:06 2010
@@ -397,9 +397,10 @@
 code, isolate it behind a well defined (and well documented) interface.</p>
 
 <p>In practice, this means that you shouldn't assume much about the host
-compiler, including its support for "high tech" features like partial
-specialization of templates.  If these features are used, they should only be
-an implementation detail of a library which has a simple exposed API.</p>
+compiler, and Visual Studio tends to be the lowest common denominator.
+If advanced features are used, they should only be an implementation detail of 
+a library which has a simple exposed API, and preferably be buried in 
+libSystem.</p>
 
 </div>
 





More information about the llvm-commits mailing list