Use functions with prototypes when appropriate; NFCA significant number of our tests in C accidentally use functionswithout prototypes. This patch converts the function signatures to havea protot
Use functions with prototypes when appropriate; NFCA significant number of our tests in C accidentally use functionswithout prototypes. This patch converts the function signatures to havea prototype for the situations where the test is not specific to K&R Cdeclarations. e.g., void func();becomes void func(void);This is the fifth batch of tests being updated (there are a significantnumber of other tests left to be updated).Note, the behavior of -ast-print is broken. It prints functions with aprototype (void) as if they have no prototype () in C. Some tests needto disable strict prototype checking when recompiling the results of an-ast-print invocation.
show more ...
Restore test files accidentally deleted in r354839I think there must be a bug in git-llvm causing parent directories to bedeleted when the diff deletes files in a subdirectory. Perhaps it isWindo
Restore test files accidentally deleted in r354839I think there must be a bug in git-llvm causing parent directories to bedeleted when the diff deletes files in a subdirectory. Perhaps it isWindows-only.There has been a behavior change, so some of these tests now fail. Ihave marked them XFAIL and will fix them in a follow-up to separate thechanges.llvm-svn: 360699
Revert r354832 "[ASTImporter] Add support for importing ChooseExpr AST nodes."Test does not pass on Windowsllvm-svn: 354839
Fixed layout of test/ASTMerge.As outlined in a previous RFC, the test/ASTMerge/Inputs folder is getting full and the tests are starting to become interdependent. This is undesirable because- it m
Fixed layout of test/ASTMerge.As outlined in a previous RFC, the test/ASTMerge/Inputs folder is getting full and the tests are starting to become interdependent. This is undesirable because- it makes it harder to write new tests- it makes it harder to figure out at a glance what old tests are doing, and- it adds the risk of breaking one test while changing a different one, because of the interdependencies.To fix this, according to the conversation in the RFC, I have changed the layout froma.cInputs/a1.cInputs/a2.ctoa/test.ca/Inputs/a1.ca/Inputs/a2.cfor all existing tests. I have also eliminated interdependencies by replicating the input files for each test that uses them.https://reviews.llvm.org/D26571llvm-svn: 287129