summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseExpr.cpp
diff options
context:
space:
mode:
authorJames Dennett <jdennett@google.com>2012-06-15 06:52:33 +0000
committerJames Dennett <jdennett@google.com>2012-06-15 06:52:33 +0000
commitf44874fb21ae9b5fd9cc9967514ede92943e0a45 (patch)
treeb9b3109c866a35b8085cb01f1358e7515735dd01 /clang/lib/Parse/ParseExpr.cpp
parent89c503ff65911ac445bdab33846db053ebfc9ba5 (diff)
downloadbcm5719-llvm-f44874fb21ae9b5fd9cc9967514ede92943e0a45.tar.gz
bcm5719-llvm-f44874fb21ae9b5fd9cc9967514ede92943e0a45.zip
Documentation cleanup: escape Objective-C @ symbols in Doxygen comments.
llvm-svn: 158495
Diffstat (limited to 'clang/lib/Parse/ParseExpr.cpp')
-rw-r--r--clang/lib/Parse/ParseExpr.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Parse/ParseExpr.cpp b/clang/lib/Parse/ParseExpr.cpp
index 2a1fba655ac..cc5e1932e00 100644
--- a/clang/lib/Parse/ParseExpr.cpp
+++ b/clang/lib/Parse/ParseExpr.cpp
@@ -182,8 +182,8 @@ ExprResult Parser::ParseExpression(TypeCastState isTypeCast) {
/// This routine is called when the '@' is seen and consumed.
/// Current token is an Identifier and is not a 'try'. This
-/// routine is necessary to disambiguate @try-statement from,
-/// for example, @encode-expression.
+/// routine is necessary to disambiguate \@try-statement from,
+/// for example, \@encode-expression.
///
ExprResult
Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) {
@@ -531,9 +531,9 @@ class CastExpressionIdValidator : public CorrectionCandidateCallback {
/// [GNU] '__builtin_types_compatible_p' '(' type-name ',' type-name ')'
/// [GNU] '__null'
/// [OBJC] '[' objc-message-expr ']'
-/// [OBJC] '@selector' '(' objc-selector-arg ')'
-/// [OBJC] '@protocol' '(' identifier ')'
-/// [OBJC] '@encode' '(' type-name ')'
+/// [OBJC] '\@selector' '(' objc-selector-arg ')'
+/// [OBJC] '\@protocol' '(' identifier ')'
+/// [OBJC] '\@encode' '(' type-name ')'
/// [OBJC] objc-string-literal
/// [C++] simple-type-specifier '(' expression-list[opt] ')' [C++ 5.2.3]
/// [C++11] simple-type-specifier braced-init-list [C++11 5.2.3]
OpenPOWER on IntegriCloud