• Tor Lillqvist's avatar
    Add SAL_WNOUNREACHABLE_CODE_PUSH and _POP macros · 78d09575
    Tor Lillqvist yazdı
    To be used around code where some compiler, in some circumstances,
    generates bogus warnings about unreachable code, that it would be much
    uglier to work around otherwise.
    
    Specifically, I will at first now use this to get rid of MSVC warnings
    about unreachable code when calling a function defined in another
    source file (but going into the same library) that always throws. The
    compiler notices this when one uses link-time code generation and it
    thus can do global inlining of code from all compilation units that go
    into a library (or executable).
    
    For MSVC, the __pragma that the SAL_WNOUNREACHABLE_CODE_PUSH macro
    expands to needs to be in force at the start curly brace of a
    function, so place the PUSH macro before the function definition. For
    clarity, I guess it is best that the corresponding POP macro comes
    after the end of the function.
    
    Change-Id: Icef5259c5360b9facdc136fec1f207665ce79d90
    78d09575
Adı
Son kayıt (commit)
Son güncelleme
..
animations Loading commit data...
apple_remote Loading commit data...
avmedia Loading commit data...
basebmp Loading commit data...
basegfx Loading commit data...
basic Loading commit data...
canvas Loading commit data...
codemaker Loading commit data...
com/sun/star/uno Loading commit data...
comphelper Loading commit data...
connectivity Loading commit data...
cppcanvas Loading commit data...
cppu Loading commit data...
cppuhelper Loading commit data...
cppunittester Loading commit data...
dbaccess Loading commit data...
drawinglayer Loading commit data...
editeng Loading commit data...
filter Loading commit data...
formula Loading commit data...
framework Loading commit data...
helpcompiler Loading commit data...
i18nlangtag Loading commit data...
i18nutil Loading commit data...
jvmaccess Loading commit data...
jvmfwk Loading commit data...
linguistic Loading commit data...
o3tl Loading commit data...
oox Loading commit data...
osl Loading commit data...
package Loading commit data...
registry Loading commit data...
rsc Loading commit data...
rtl Loading commit data...
sal Loading commit data...
salhelper Loading commit data...
sax Loading commit data...
sfx2 Loading commit data...
shell Loading commit data...
sot Loading commit data...
store Loading commit data...
svl Loading commit data...
svtools Loading commit data...
svx Loading commit data...
systools/win32 Loading commit data...
test Loading commit data...
toolkit Loading commit data...
tools Loading commit data...
touch Loading commit data...
tubes Loading commit data...
typelib Loading commit data...
ucbhelper Loading commit data...
uno Loading commit data...
unoidl Loading commit data...
unotest Loading commit data...
unotools Loading commit data...
vbahelper Loading commit data...
vcl Loading commit data...
wntgcci Loading commit data...
wntgccx Loading commit data...
xmloff Loading commit data...
xmlreader Loading commit data...
xmlscript Loading commit data...
default.rc Loading commit data...
postmac.h Loading commit data...
postwin.h Loading commit data...
postx.h Loading commit data...
premac.h Loading commit data...
prewin.h Loading commit data...
prex.h Loading commit data...
version.hrc Loading commit data...