File tree Expand file tree Collapse file tree
cpp/ql/src/semmle/code/cpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,24 +38,28 @@ class FunctionIR extends TFunctionIR {
3838 /**
3939 * Gets the entry point for this function.
4040 */
41+ pragma [ noinline]
4142 final EnterFunctionInstruction getEnterFunctionInstruction ( ) {
4243 result .getFunctionIR ( ) = this
4344 }
4445
4546 /**
4647 * Gets the exit point for this function.
4748 */
49+ pragma [ noinline]
4850 final ExitFunctionInstruction getExitFunctionInstruction ( ) {
4951 result .getFunctionIR ( ) = this
5052 }
5153
54+ pragma [ noinline]
5255 final UnmodeledDefinitionInstruction getUnmodeledDefinitionInstruction ( ) {
5356 result .getFunctionIR ( ) = this
5457 }
5558
5659 /**
5760 * Gets the single return instruction for this function.
5861 */
62+ pragma [ noinline]
5963 final ReturnInstruction getReturnInstruction ( ) {
6064 result .getFunctionIR ( ) = this
6165 }
@@ -64,13 +68,15 @@ class FunctionIR extends TFunctionIR {
6468 * Gets the variable used to hold the return value of this function. If this
6569 * function does not return a value, this predicate does not hold.
6670 */
71+ pragma [ noinline]
6772 final IRReturnVariable getReturnVariable ( ) {
6873 result .getFunctionIR ( ) = this
6974 }
7075
7176 /**
7277 * Gets the block containing the entry point of this function.
7378 */
79+ pragma [ noinline]
7480 final IRBlock getEntryBlock ( ) {
7581 result .getFirstInstruction ( ) = getEnterFunctionInstruction ( )
7682 }
Original file line number Diff line number Diff line change @@ -38,24 +38,28 @@ class FunctionIR extends TFunctionIR {
3838 /**
3939 * Gets the entry point for this function.
4040 */
41+ pragma [ noinline]
4142 final EnterFunctionInstruction getEnterFunctionInstruction ( ) {
4243 result .getFunctionIR ( ) = this
4344 }
4445
4546 /**
4647 * Gets the exit point for this function.
4748 */
49+ pragma [ noinline]
4850 final ExitFunctionInstruction getExitFunctionInstruction ( ) {
4951 result .getFunctionIR ( ) = this
5052 }
5153
54+ pragma [ noinline]
5255 final UnmodeledDefinitionInstruction getUnmodeledDefinitionInstruction ( ) {
5356 result .getFunctionIR ( ) = this
5457 }
5558
5659 /**
5760 * Gets the single return instruction for this function.
5861 */
62+ pragma [ noinline]
5963 final ReturnInstruction getReturnInstruction ( ) {
6064 result .getFunctionIR ( ) = this
6165 }
@@ -64,13 +68,15 @@ class FunctionIR extends TFunctionIR {
6468 * Gets the variable used to hold the return value of this function. If this
6569 * function does not return a value, this predicate does not hold.
6670 */
71+ pragma [ noinline]
6772 final IRReturnVariable getReturnVariable ( ) {
6873 result .getFunctionIR ( ) = this
6974 }
7075
7176 /**
7277 * Gets the block containing the entry point of this function.
7378 */
79+ pragma [ noinline]
7480 final IRBlock getEntryBlock ( ) {
7581 result .getFirstInstruction ( ) = getEnterFunctionInstruction ( )
7682 }
Original file line number Diff line number Diff line change @@ -38,24 +38,28 @@ class FunctionIR extends TFunctionIR {
3838 /**
3939 * Gets the entry point for this function.
4040 */
41+ pragma [ noinline]
4142 final EnterFunctionInstruction getEnterFunctionInstruction ( ) {
4243 result .getFunctionIR ( ) = this
4344 }
4445
4546 /**
4647 * Gets the exit point for this function.
4748 */
49+ pragma [ noinline]
4850 final ExitFunctionInstruction getExitFunctionInstruction ( ) {
4951 result .getFunctionIR ( ) = this
5052 }
5153
54+ pragma [ noinline]
5255 final UnmodeledDefinitionInstruction getUnmodeledDefinitionInstruction ( ) {
5356 result .getFunctionIR ( ) = this
5457 }
5558
5659 /**
5760 * Gets the single return instruction for this function.
5861 */
62+ pragma [ noinline]
5963 final ReturnInstruction getReturnInstruction ( ) {
6064 result .getFunctionIR ( ) = this
6165 }
@@ -64,13 +68,15 @@ class FunctionIR extends TFunctionIR {
6468 * Gets the variable used to hold the return value of this function. If this
6569 * function does not return a value, this predicate does not hold.
6670 */
71+ pragma [ noinline]
6772 final IRReturnVariable getReturnVariable ( ) {
6873 result .getFunctionIR ( ) = this
6974 }
7075
7176 /**
7277 * Gets the block containing the entry point of this function.
7378 */
79+ pragma [ noinline]
7480 final IRBlock getEntryBlock ( ) {
7581 result .getFirstInstruction ( ) = getEnterFunctionInstruction ( )
7682 }
You can’t perform that action at this time.
0 commit comments