Ahmed Charles
b89843299a
Replace OwningPtr with std::unique_ptr.
...
This compiles cleanly with lldb/lld/clang-tools-extra/llvm.
llvm-svn: 203279
2014-03-07 20:03:18 +00:00
Benjamin Kramer
594802f744
Add a StmtPrinter test for implicit and explicit conversion operator calls.
...
Put back a comment that I removed too aggressively.
llvm-svn: 202255
2014-02-26 10:23:43 +00:00
Saleem Abdulrasool
8a8454bc31
unittests: explicit stringify StringRefs for conversion
...
When clang is built outside of the LLVM tree (against a corresponding version),
there is no definition providing for operator<<(std::ostream &, StringRef) which
is required for the assertion routines in google-test tests. Avoid the
compilation failure by explicitly stringifying the StringRef prior to use.
llvm-svn: 200096
2014-01-25 20:04:44 +00:00
Richard Smith
f41d237bf6
Remove out-of-date comment.
...
llvm-svn: 168957
2012-11-29 23:09:57 +00:00
NAKAMURA Takumi
c2b2b75bd5
ASTTests/StmtPrinterTest/StmtPrinter.TestMSIntegerLiteral: Remove i128 stuff. Conditioning-out in macro argument was not accepted on MS cl.exe.
...
llvm-svn: 168867
2012-11-29 10:22:40 +00:00
NAKAMURA Takumi
b2df62570e
ASTTests/StmtPrinterTest/StmtPrinter.TestMSIntegerLiteral: Suppress i128 according to r168856, for now.
...
I think "i128", that I conditioned out, could be completely removed.
MS Compiler doesn't accept i128. We can assume no one would use i128.
llvm-svn: 168865
2012-11-29 09:57:11 +00:00
NAKAMURA Takumi
f5a898c305
unittests/AST/StmtPrinterTest.cpp: Suppress a LP64-assumed test, "0x100000000i128 => 4294967296L", for now.
...
LONG_MAX is 2147483647L on common 32 bit and LLP64 (Windows x64).
llvm-svn: 164478
2012-09-24 00:34:18 +00:00
Dmitri Gribenko
24bef9a4e9
As a followup for r164303, add some tests for printing literals that test
...
printing directly rather than through a complicated machinery of ObjC rewriter.
llvm-svn: 164477
2012-09-23 20:29:07 +00:00