summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2012-06-19 21:05:49 +0000
committerJames Dennett <jdennett@google.com>2012-06-19 21:05:49 +0000
commit51a8d8b8b58d810d78c21102d357d72729496a98 (patch)
tree1577362231cb495bd3f3238b1d9d73145c772520 /clang/lib
parent99c193b3c0ed3233d92e5ab690bc19d81eb546cd (diff)
downloadbcm5719-llvm-51a8d8b8b58d810d78c21102d357d72729496a98.tar.gz
bcm5719-llvm-51a8d8b8b58d810d78c21102d357d72729496a98.zip
Documentation cleanup: escape "::", and other minor reformatting
llvm-svn: 158741
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaLookup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaLookup.cpp b/clang/lib/Sema/SemaLookup.cpp
index ded441cac68..506a9f80f53 100644
--- a/clang/lib/Sema/SemaLookup.cpp
+++ b/clang/lib/Sema/SemaLookup.cpp
@@ -1231,7 +1231,7 @@ bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) {
/// 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 @@ bool Sema::LookupName(LookupResult &R, Scope *S, bool AllowBuiltinCreation) {
/// (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
OpenPOWER on IntegriCloud