summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/DeclPrinterTest.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-12-19 23:36:00 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-12-19 23:36:00 +0000
commit0389e528abc886f1452078fa1e6c6828f6fd1d98 (patch)
treec58d7e87f7da50fb108b3b59b16f88923c432c47 /clang/unittests/AST/DeclPrinterTest.cpp
parenta81719160520d357dd183ed8e15920cb4b14a60e (diff)
downloadbcm5719-llvm-0389e528abc886f1452078fa1e6c6828f6fd1d98.tar.gz
bcm5719-llvm-0389e528abc886f1452078fa1e6c6828f6fd1d98.zip
Audit DeclPrinter with -ast-dump on Cocoa.h and
fix any bad objectiveC syntax coming out of DeclPrinter. This is on going. Also, introduce a new PrintPolicy and use it as needed when declaration tag is to be produced via DeclPrinter. llvm-svn: 170606
Diffstat (limited to 'clang/unittests/AST/DeclPrinterTest.cpp')
-rw-r--r--clang/unittests/AST/DeclPrinterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/AST/DeclPrinterTest.cpp b/clang/unittests/AST/DeclPrinterTest.cpp
index e9fc6fdea3d..844b9a49e13 100644
--- a/clang/unittests/AST/DeclPrinterTest.cpp
+++ b/clang/unittests/AST/DeclPrinterTest.cpp
@@ -1234,6 +1234,6 @@ TEST(DeclPrinter, TestObjCMethod1) {
"@end\n",
namedDecl(hasName("A:inRange:"),
hasDescendant(namedDecl(hasName("printThis")))).bind("id"),
- "- (int) A:(id)anObject inRange:(long)range;"));
+ "- (int) A:(id)anObject inRange:(long)range"));
}
OpenPOWER on IntegriCloud