91694b9b58
Code Style: use "#pragma once" in source directory
...
This replaces header include guards with `#pragma once`.
A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`),
because they are used in other places.
This patch has been generated by P1561 followed by `make format`.
Differential Revision: https://developer.blender.org/D8466
2020-08-07 09:50:34 +02:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
Dalai Felinto
29ace10f7e
gcc5 has issues with Wconversion
...
This leads to a crash in 2.8, but commiting here.
Patch by Campbell Barton.
2017-06-07 11:37:28 +02:00
0334be9f7f
Don't error of sign-conversion for < gcc v4.8
...
Behavior is different and hard to keep building on older versions.
2014-09-29 11:01:33 +10:00
0319db1063
Correct own recent changes broke release builds
2014-03-30 20:35:59 +11:00
8d1b289b78
Code cleanup: warnings (clang)
2014-03-30 19:37:43 +11:00
c16bd951cd
Enable GCC pedantic warnings with strict flags,
...
also modify MIN/MAX macros to prevent shadowing.
2014-03-30 15:04:20 +11:00
78bd029bbe
MSVC: add errors for BLI_strict_flags.h
2014-02-16 14:50:15 +11:00
2dc988df8c
reorder BLI_strict_flags.h include so its not conflicting with stdio.h on apple.
2013-09-03 04:39:12 +00:00
b18f77abfd
OSX/gcc4.6+: fix compiling, -Wconversion causes ann weeror in gcc's own stdio.h else
2013-09-01 15:03:44 +00:00
9d04a61f36
use strict flags for lasso, boxpack, gsqueue and quadric's.
...
for lasso also use unsigned ints rather then shorts for the path length.
2013-09-01 03:43:10 +00:00
2924a02a35
move strict compiler checks into a header so its easier to manage in one place (pragmas were copied around).
...
also enable more strict warnings for BLF (which had some incorrect casts).
2013-09-01 00:46:04 +00:00