Commit c2f31f16 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer Committed by Christian Kamm

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