summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/floating-point-compare.c
Commit message (Collapse)AuthorAgeFilesLines
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-2/+2
| | | | llvm-svn: 81346
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Fixed test case to not expect a warning when one should not be emitted.Ted Kremenek2007-11-291-5/+1
| | | | | | Removed redundant test case. llvm-svn: 44426
* Added test cases for -Wfloat-equal to test comparisons against literals that ↵Ted Kremenek2007-11-291-6/+14
| | | | | | | | | can be represented exactly and inexactly by APFloats. For the former, we do not emit a warning. llvm-svn: 44425
* Updated test case to flag about comparisons against constants. We mayTed Kremenek2007-11-131-1/+1
| | | | | | invert this case (i.e., not flag a warning) in the future. llvm-svn: 44059
* Modified -Wfloat-equal logic to suppress warnings where floating point valuesTed Kremenek2007-11-131-0/+8
| | | | | | are compared against builtins such as __builtin_inf. llvm-svn: 44058
* Added -Wfloat-equal option to the driver. This makes warnings aboutTed Kremenek2007-11-131-1/+1
| | | | | | | | | floating point comparisons using == or != an opt-in rather than a default warning. Updated test case to use -Wfloat-equal. llvm-svn: 44053
* For checking for floating point comparison using == or !=, we now suppressTed Kremenek2007-10-291-0/+4
| | | | | | | | errors for cases such as "x == x". Added test case to test this feature. llvm-svn: 43447
* rename -parse-ast-print to -ast-printChris Lattner2007-10-111-1/+1
| | | | | | | rename -parse-ast-dump to -ast-dump remove -parse-ast, which is redundant with -fsyntax-only llvm-svn: 42852
* Removed option "-parse-ast-check" from clang driver. This is now implementedTed Kremenek2007-09-261-2/+2
| | | | | | | | | | | | using "-parse-ast -verify". Updated all test cases (using a sed script) that invoked -parse-ast-check to now use -parse-ast -verify. Fixed a bug where using "-verify" instead of "-parse-ast-check" would not correctly create the DiagClient needed to accumulate diagnostics. llvm-svn: 42365
* Added checking (during parsing) of comparison of floating point values using ↵Ted Kremenek2007-08-291-0/+9
== or !=. This is the same functionality gcc provides via --Wfloat-equal. llvm-svn: 41574
OpenPOWER on IntegriCloud