aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-11-04 09:18:24 +0000
committerTobias Grosser <tobias@grosser.es>2014-11-04 09:18:24 +0000
commit477a1dce2be06a2c78049e0c76f4eb2455121959 (patch)
tree5daa93bc323d1ebb9b8e2fe9bb78dcda8dc596df /clang/unittests/Format/FormatTestJava.cpp
parent34ec84ec7f20a2c2ec2c37e53a9f182810371994 (diff)
downloadllvm-477a1dce2be06a2c78049e0c76f4eb2455121959.zip
llvm-477a1dce2be06a2c78049e0c76f4eb2455121959.tar.gz
llvm-477a1dce2be06a2c78049e0c76f4eb2455121959.tar.bz2
Use argument type directly from fflush if available in translation unit
When our RuntimeDebugBuilder calles fflush(NULL) to flush all output streams, it is important that the types we use in the call match the ones used in a declaration of fflush possible already available in the translation unit. As we just pass on a NULL pointer, the type of the pointer value does not really matter. However, as LLVM complains in case of mismatched types, we make sure to create a NULL pointer of identical type. No test case, as RuntimeDebugBuilder is not permanently used in Polly. Calls to it are until now only used to add informative output during debugging sessions. llvm-svn: 221251
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions