Skip to content
Snippets Groups Projects
Commit c2f31f16 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer Committed by Christian Kamm
Browse files

Added support for Microsoft-specific inline keywords


__inline is equivalent to inline.
__forceinline is used to override the cost/benefit analysis.

Change-Id: Ifc7c94c1798f98c553ffa979a722ede9df11b3f0
Merge-request: 2206
Reviewed-by: default avatarChristian Kamm <christian.d.kamm@nokia.com>
Reviewed-on: http://codereview.qt-project.org/4416


Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
parent c10fe02d
No related branches found
No related tags found
No related merge requests found
...@@ -168,7 +168,9 @@ static const char pp_configuration[] = ...@@ -168,7 +168,9 @@ static const char pp_configuration[] =
"#define STDMETHOD(method) virtual HRESULT STDMETHODCALLTYPE method\n" "#define STDMETHOD(method) virtual HRESULT STDMETHODCALLTYPE method\n"
"#define __try try\n" "#define __try try\n"
"#define __except catch\n" "#define __except catch\n"
"#define __finally\n"; "#define __finally\n"
"#define __inline inline\n"
"#define __forceinline inline\n";
#ifndef ICHECK_BUILD #ifndef ICHECK_BUILD
CppPreprocessor::CppPreprocessor(QPointer<CppModelManager> modelManager) CppPreprocessor::CppPreprocessor(QPointer<CppModelManager> modelManager)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment