[cfe-commits] r158741 - /cfe/trunk/lib/Sema/SemaLookup.cpp
James Dennett
jdennett at google.com
Tue Jun 19 14:05:50 PDT 2012
Author: jdennett
Date: Tue Jun 19 16:05:49 2012
New Revision: 158741
URL: http://llvm.org/viewvc/llvm-project?rev=158741&view=rev
Log:
Documentation cleanup: escape "::", and other minor reformatting
Modified:
cfe/trunk/lib/Sema/SemaLookup.cpp
Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=158741&r1=158740&r2=158741&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Tue Jun 19 16:05:49 2012
@@ -1231,7 +1231,7 @@
/// using directives by the given context.
///
/// C++98 [namespace.qual]p2:
-/// Given X::m (where X is a user-declared namespace), or given ::m
+/// Given X::m (where X is a user-declared namespace), or given \::m
/// (where X is the global namespace), let S be the set of all
/// declarations of m in X and in the transitive closure of all
/// namespaces nominated by using-directives in X and its used
@@ -1244,6 +1244,7 @@
/// (namespace.udecl), S is the required set of declarations of
/// m. Otherwise if the use of m is not one that allows a unique
/// declaration to be chosen from S, the program is ill-formed.
+///
/// C++98 [namespace.qual]p5:
/// During the lookup of a qualified namespace member name, if the
/// lookup finds more than one declaration of the member, and if one
More information about the cfe-commits
mailing list