summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-07-21 06:31:05 +0000
committerChris Lattner <sabre@nondot.org>2008-07-21 06:31:05 +0000
commitf1c149db9ff992a03917e9461323be9d66fca7a9 (patch)
tree509e803e81e5da78d82d5d88c48e6b69ccee6183 /clang/lib/Sema
parent12bf571fa8f3c306bd65978006613260370edabb (diff)
downloadbcm5719-llvm-f1c149db9ff992a03917e9461323be9d66fca7a9.tar.gz
bcm5719-llvm-f1c149db9ff992a03917e9461323be9d66fca7a9.zip
don't pass in null as the Name for GenerateClassStructure,
it goes and makes std::strings out of them, which is not defined. llvm-svn: 53843
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaExprObjC.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaExprObjC.cpp b/clang/lib/Sema/SemaExprObjC.cpp
index bed9d5d306a..99a7afdc1af 100644
--- a/clang/lib/Sema/SemaExprObjC.cpp
+++ b/clang/lib/Sema/SemaExprObjC.cpp
@@ -217,8 +217,7 @@ Sema::ExprResult Sema::ActOnClassMessage(
// ActOnInstanceMessage - used for both unary and keyword messages.
// ArgExprs is optional - if it is present, the number of expressions
// is obtained from Sel.getNumArgs().
-Sema::ExprResult Sema::ActOnInstanceMessage(
- ExprTy *receiver, Selector Sel,
+Sema::ExprResult Sema::ActOnInstanceMessage(ExprTy *receiver, Selector Sel,
SourceLocation lbrac, SourceLocation rbrac, ExprTy **Args, unsigned NumArgs)
{
assert(receiver && "missing receiver expression");
OpenPOWER on IntegriCloud